diff options
Diffstat (limited to 'apps/plugins/imageviewer/imageviewer.c')
-rw-r--r-- | apps/plugins/imageviewer/imageviewer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/imageviewer/imageviewer.c b/apps/plugins/imageviewer/imageviewer.c index c77b22fdae..d1a512c4fd 100644 --- a/apps/plugins/imageviewer/imageviewer.c +++ b/apps/plugins/imageviewer/imageviewer.c | |||
@@ -230,7 +230,7 @@ static bool set_option_dithering(void) | |||
230 | [DITHER_DIFFUSION] = { STR(LANG_DIFFUSION) }, | 230 | [DITHER_DIFFUSION] = { STR(LANG_DIFFUSION) }, |
231 | }; | 231 | }; |
232 | 232 | ||
233 | rb->set_option(rb->str(LANG_DITHERING), &settings.jpeg_dither_mode, INT, | 233 | rb->set_option(rb->str(LANG_DITHERING), &settings.jpeg_dither_mode, RB_INT, |
234 | dithering, DITHER_NUM_MODES, NULL); | 234 | dithering, DITHER_NUM_MODES, NULL); |
235 | return false; | 235 | return false; |
236 | } | 236 | } |
@@ -290,7 +290,7 @@ static int show_menu(void) /* return 1 to quit */ | |||
290 | case MIID_RETURN: | 290 | case MIID_RETURN: |
291 | break; | 291 | break; |
292 | case MIID_TOGGLE_SS_MODE: | 292 | case MIID_TOGGLE_SS_MODE: |
293 | rb->set_option(rb->str(LANG_SLIDESHOW_MODE), &iv_api.slideshow_enabled, BOOL, | 293 | rb->set_option(rb->str(LANG_SLIDESHOW_MODE), &iv_api.slideshow_enabled, RB_BOOL, |
294 | slideshow , 2, NULL); | 294 | slideshow , 2, NULL); |
295 | break; | 295 | break; |
296 | case MIID_CHANGE_SS_MODE: | 296 | case MIID_CHANGE_SS_MODE: |