summaryrefslogtreecommitdiff
path: root/apps/plugins/text_editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/text_editor.c')
-rw-r--r--apps/plugins/text_editor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/text_editor.c b/apps/plugins/text_editor.c
index 8040d00f22..9917d03242 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)
123 { 123 {
124 char t = b[MAX_PATH-10]; 124 char t = b[MAX_PATH-10];
125 b[MAX_PATH-10] = '\0'; 125 b[MAX_PATH-10] = '\0';
126 rb->snprintf(buf,MAX_PATH,"%s ...\0",b); 126 rb->snprintf(buf,MAX_PATH,"%s ...",b);
127 b[MAX_PATH-10] = t; 127 b[MAX_PATH-10] = t;
128 } 128 }
129 else rb->strcpy(buf,b); 129 else rb->strcpy(buf,b);