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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/text_editor.c b/apps/plugins/text_editor.c
index a8c8c2d836..4d5812ba2c 100644
--- a/apps/plugins/text_editor.c
+++ b/apps/plugins/text_editor.c
@@ -86,7 +86,7 @@ char* _do_action(int action, char* str, int line)
86 break; 86 break;
87 case ACTION_REMOVE: 87 case ACTION_REMOVE:
88 if (line > line_count) 88 if (line > line_count)
89 return 0; 89 return NULL;
90 len = rb->strlen(&buffer[c])+1; 90 len = rb->strlen(&buffer[c])+1;
91 rb->memmove(&buffer[c],&buffer[c+len],char_count-c-len); 91 rb->memmove(&buffer[c],&buffer[c+len],char_count-c-len);
92 char_count -= len; 92 char_count -= len;
@@ -225,7 +225,7 @@ enum {
225}; 225};
226int do_item_menu(int cur_sel, char* copy_buffer) 226int do_item_menu(int cur_sel, char* copy_buffer)
227{ 227{
228 int ret = 0; 228 int ret = MENU_RET_NO_UPDATE;
229 MENUITEM_STRINGLIST(menu, "Line Options", NULL, 229 MENUITEM_STRINGLIST(menu, "Line Options", NULL,
230 "Cut/Delete", "Copy", 230 "Cut/Delete", "Copy",
231 "Insert Above", "Insert Below", 231 "Insert Above", "Insert Below",