From ef6d394abfa6e13d2172717ebf31854a8055505b Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 17 Sep 2006 14:04:58 +0000 Subject: fixes FS#6007 point 2 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10971 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/viewer.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'apps') 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) -- cgit v1.2.3