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
This commit is contained in:
Yoshihisa Uchida 2010-07-07 12:07:23 +00:00
parent e5a257607d
commit 276dfa23b6
3 changed files with 11 additions and 7 deletions

View file

@ -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;