diff options
author | Yoshihisa Uchida <uchida@rockbox.org> | 2010-07-07 12:07:23 +0000 |
---|---|---|
committer | Yoshihisa Uchida <uchida@rockbox.org> | 2010-07-07 12:07:23 +0000 |
commit | 276dfa23b611a85bedebceb986d0b4549a934187 (patch) | |
tree | 5efe86b94c65c6aa05d6472064651066a3830d6a /apps/plugins/text_viewer/tv_settings.c | |
parent | e5a257607dd93afe239a03dff0d093dfb3af64be (diff) | |
download | rockbox-276dfa23b611a85bedebceb986d0b4549a934187.tar.gz rockbox-276dfa23b611a85bedebceb986d0b4549a934187.zip |
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
Diffstat (limited to 'apps/plugins/text_viewer/tv_settings.c')
-rw-r--r-- | apps/plugins/text_viewer/tv_settings.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
189 | prefs->autoscroll_speed = *p++; | 189 | prefs->autoscroll_speed = *p++; |
190 | 190 | ||
191 | if (version > 2) | 191 | if (version > 2) |
192 | prefs->horizontal_scrollbar = (*p != 0); | 192 | prefs->horizontal_scrollbar = (*p++ != 0); |
193 | else | 193 | else |
194 | prefs->horizontal_scrollbar = false; | 194 | prefs->horizontal_scrollbar = false; |
195 | 195 | ||