summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoen Hirschberg <marcoen@gmail.com>2007-11-23 15:42:08 +0000
committerMarcoen Hirschberg <marcoen@gmail.com>2007-11-23 15:42:08 +0000
commitb3f155d6a147da186888f3bd63df7a88aa80af34 (patch)
treeb6dcd529da5736562fbeb5e47155fde60b9837ea
parent20dbc1b21f38c6caad13de485c68444c752380fc (diff)
don't show the scrollbar after turning it off in the menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15775 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/viewer.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c
index e5091d052c..540adb4562 100644
--- a/apps/plugins/viewer.c
+++ b/apps/plugins/viewer.c
@@ -1356,9 +1356,7 @@ static bool viewer_options_menu(void)
rb->lcd_setmargins(0,0);
/* Show-scrollbar mode for current view-width mode */
- if (!ONE_SCREEN_FITS_ALL())
- if (prefs.scrollbar_mode == true)
- init_need_scrollbar();
+ init_need_scrollbar();
#endif
return result;
}