diff options
-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) | |||
1185 | {"No (Narrow)", -1}, | 1185 | {"No (Narrow)", -1}, |
1186 | {"Yes", -1}, | 1186 | {"Yes", -1}, |
1187 | }; | 1187 | }; |
1188 | 1188 | bool ret; | |
1189 | return rb->set_option("Wide View", &prefs.view_mode, INT, | 1189 | ret = rb->set_option("Wide View", &prefs.view_mode, INT, |
1190 | names , 2, NULL); | 1190 | names , 2, NULL); |
1191 | if (prefs.view_mode == NARROW) | ||
1192 | col = 0; | ||
1193 | return ret; | ||
1191 | } | 1194 | } |
1192 | 1195 | ||
1193 | static bool scroll_mode_setting(void) | 1196 | static bool scroll_mode_setting(void) |