summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2006-09-17 14:04:58 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2006-09-17 14:04:58 +0000
commitef6d394abfa6e13d2172717ebf31854a8055505b (patch)
tree9284e706ecc34a371e77881550f094132ca154de /apps
parentc85467d4371aa99e4f9e529d82e0d1899e6835ea (diff)
fixes FS#6007 point 2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10971 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/viewer.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c
index 866f0ccff7..ab0a4c4090 100644
--- a/apps/plugins/viewer.c
+++ b/apps/plugins/viewer.c
@@ -1185,9 +1185,12 @@ static bool view_mode_setting(void)
{"No (Narrow)", -1},
{"Yes", -1},
};
-
- return rb->set_option("Wide View", &prefs.view_mode, INT,
+ bool ret;
+ ret = rb->set_option("Wide View", &prefs.view_mode, INT,
names , 2, NULL);
+ if (prefs.view_mode == NARROW)
+ col = 0;
+ return ret;
}
static bool scroll_mode_setting(void)