forked from len0rd/rockbox
Fix FS#13494
Change-Id: Ie306418431eb412dac00907eb2f59999d8b4dfb0
This commit is contained in:
parent
0cb0cb486f
commit
8808c42d6d
1 changed files with 2 additions and 0 deletions
|
@ -717,6 +717,7 @@ static int scroll_bmp(struct image_info *info, bool initial_frame)
|
||||||
#ifdef IMGVIEW_ZOOM_PRE
|
#ifdef IMGVIEW_ZOOM_PRE
|
||||||
if (lastbutton != IMGVIEW_ZOOM_PRE)
|
if (lastbutton != IMGVIEW_ZOOM_PRE)
|
||||||
break;
|
break;
|
||||||
|
lastbutton = button;
|
||||||
#endif
|
#endif
|
||||||
return ZOOM_IN;
|
return ZOOM_IN;
|
||||||
break;
|
break;
|
||||||
|
@ -725,6 +726,7 @@ static int scroll_bmp(struct image_info *info, bool initial_frame)
|
||||||
#ifdef IMGVIEW_ZOOM_PRE
|
#ifdef IMGVIEW_ZOOM_PRE
|
||||||
if (lastbutton != IMGVIEW_ZOOM_PRE)
|
if (lastbutton != IMGVIEW_ZOOM_PRE)
|
||||||
break;
|
break;
|
||||||
|
lastbutton = button;
|
||||||
#endif
|
#endif
|
||||||
return ZOOM_OUT;
|
return ZOOM_OUT;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue