diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/viewer.c | 7 |
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) |