diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2024-10-03 13:58:05 +0200 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2024-10-03 14:03:29 +0200 |
commit | 8808c42d6db08a7b2c8ebe6bac9982028161b87d (patch) | |
tree | 028c77094407049a639b7007ef8f39750d248feb /apps/plugins/imageviewer/imageviewer.c | |
parent | 0cb0cb486ff0f9ab886d1a868aa28ee3b2f306cd (diff) | |
download | rockbox-master.tar.gz rockbox-master.zip |
Change-Id: Ie306418431eb412dac00907eb2f59999d8b4dfb0
Diffstat (limited to 'apps/plugins/imageviewer/imageviewer.c')
-rw-r--r-- | apps/plugins/imageviewer/imageviewer.c | 2 |
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; |