summaryrefslogtreecommitdiff
path: root/apps/plugins/text_editor.c
diff options
context:
space:
mode:
authorAlexander Levin <al.le@rockbox.org>2009-06-24 20:17:17 +0000
committerAlexander Levin <al.le@rockbox.org>2009-06-24 20:17:17 +0000
commit119cfdaa0ab21130ec17fafbe869996ec741abe8 (patch)
tree45a9330dfa81f1a8cd75426d699aafec1f789e3a /apps/plugins/text_editor.c
parent5acfa34b9c60b9a2e5236b0fecd96e2c54e4e242 (diff)
Do not unnecessarily change and restore the status bar setting (part of FS#10138 by Teruaki Kawashima)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21493 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/text_editor.c')
-rw-r--r--apps/plugins/text_editor.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/plugins/text_editor.c b/apps/plugins/text_editor.c
index 911b64e7ab..703b330d6c 100644
--- a/apps/plugins/text_editor.c
+++ b/apps/plugins/text_editor.c
@@ -326,14 +326,11 @@ enum plugin_status plugin_start(const void* parameter)
bool changed = false;
int cur_sel=0;
static char copy_buffer[MAX_LINE_LEN];
- bool prev_show_statusbar;
#ifdef HAVE_LCD_COLOR
bool edit_colors_file = false;
#endif
copy_buffer[0]='\0';
- prev_show_statusbar = rb->global_settings->statusbar;
- rb->global_settings->statusbar = false;
#if LCD_DEPTH > 1
rb->lcd_set_backdrop(NULL);
@@ -515,6 +512,5 @@ enum plugin_status plugin_start(const void* parameter)
}
rb->gui_synclist_set_nb_items(&lists,line_count);
}
- rb->global_settings->statusbar = prev_show_statusbar;
return PLUGIN_OK;
}