From ddba5fa37de5bfd0e3fbda1bccb3a49cef7c823f Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Mon, 6 Nov 2006 06:21:45 +0000 Subject: fixes fs5913 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11441 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/text_editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugins/text_editor.c') 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) if (line > line_count) return 0; len = rb->strlen(&buffer[c])+1; - rb->memmove(&buffer[c],&buffer[c+len],char_count); char_count -= len; + rb->memmove(&buffer[c],&buffer[c+len],char_count); line_count--; break; case ACTION_UPDATE: -- cgit v1.2.3