summaryrefslogtreecommitdiff
path: root/apps/plugins/imageviewer
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/imageviewer')
-rw-r--r--apps/plugins/imageviewer/imageviewer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/imageviewer/imageviewer.c b/apps/plugins/imageviewer/imageviewer.c
index 9d5aea7f15..b849812508 100644
--- a/apps/plugins/imageviewer/imageviewer.c
+++ b/apps/plugins/imageviewer/imageviewer.c
@@ -717,6 +717,7 @@ static int scroll_bmp(struct image_info *info, bool initial_frame)
717#ifdef IMGVIEW_ZOOM_PRE 717#ifdef IMGVIEW_ZOOM_PRE
718 if (lastbutton != IMGVIEW_ZOOM_PRE) 718 if (lastbutton != IMGVIEW_ZOOM_PRE)
719 break; 719 break;
720 lastbutton = button;
720#endif 721#endif
721 return ZOOM_IN; 722 return ZOOM_IN;
722 break; 723 break;
@@ -725,6 +726,7 @@ static int scroll_bmp(struct image_info *info, bool initial_frame)
725#ifdef IMGVIEW_ZOOM_PRE 726#ifdef IMGVIEW_ZOOM_PRE
726 if (lastbutton != IMGVIEW_ZOOM_PRE) 727 if (lastbutton != IMGVIEW_ZOOM_PRE)
727 break; 728 break;
729 lastbutton = button;
728#endif 730#endif
729 return ZOOM_OUT; 731 return ZOOM_OUT;
730 break; 732 break;