From 276dfa23b611a85bedebceb986d0b4549a934187 Mon Sep 17 00:00:00 2001 From: Yoshihisa Uchida Date: Wed, 7 Jul 2010 12:07:23 +0000 Subject: text viewer: fixed the following bugs. - the statusbar of the preferences is not correct when the settings file loads. - overlaps the statusbar of the skin and default one. (FS#11455) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27334 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/text_viewer/tv_settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugins/text_viewer/tv_settings.c') diff --git a/apps/plugins/text_viewer/tv_settings.c b/apps/plugins/text_viewer/tv_settings.c index 549b0d7ab9..3004ac3d60 100644 --- a/apps/plugins/text_viewer/tv_settings.c +++ b/apps/plugins/text_viewer/tv_settings.c @@ -189,7 +189,7 @@ static bool tv_read_preferences(int pfd, int version, struct tv_preferences *pre prefs->autoscroll_speed = *p++; if (version > 2) - prefs->horizontal_scrollbar = (*p != 0); + prefs->horizontal_scrollbar = (*p++ != 0); else prefs->horizontal_scrollbar = false; -- cgit v1.2.3