summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 52e229d108..9f5412810d 100644
--- a/apps/plugins/text_editor.c
+++ b/apps/plugins/text_editor.c
@@ -91,8 +91,8 @@ int _do_action(int action, char* str, int line)
91 if (line > line_count) 91 if (line > line_count)
92 return 0; 92 return 0;
93 len = rb->strlen(&buffer[c])+1; 93 len = rb->strlen(&buffer[c])+1;
94 rb->memmove(&buffer[c],&buffer[c+len],char_count);
95 char_count -= len; 94 char_count -= len;
95 rb->memmove(&buffer[c],&buffer[c+len],char_count);
96 line_count--; 96 line_count--;
97 break; 97 break;
98 case ACTION_UPDATE: 98 case ACTION_UPDATE: