diff options
Diffstat (limited to 'apps/plugins/text_editor.c')
| -rw-r--r-- | apps/plugins/text_editor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/text_editor.c b/apps/plugins/text_editor.c index 8040d00..9917d03 100644 --- a/apps/plugins/text_editor.c +++ b/apps/plugins/text_editor.c @@ -123,7 +123,7 @@ char *list_get_name_cb(int selected_item,void* data,char* buf) { char t = b[MAX_PATH-10]; b[MAX_PATH-10] = '\0'; - rb->snprintf(buf,MAX_PATH,"%s ...\0",b); + rb->snprintf(buf,MAX_PATH,"%s ...",b); b[MAX_PATH-10] = t; } else rb->strcpy(buf,b); |