summaryrefslogtreecommitdiff
path: root/apps/plugins/jpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/jpeg.c')
-rw-r--r--apps/plugins/jpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/jpeg.c b/apps/plugins/jpeg.c
index c601712..d760812 100644
--- a/apps/plugins/jpeg.c
+++ b/apps/plugins/jpeg.c
@@ -1520,7 +1520,7 @@ int scroll_bmp(struct t_disp* pdisp)
int lastbutton = 0;
/*empty the button queue first, to avoid unwanted scrolling */
- while(rb->button_get(false) != BUTTON_NONE);
+ rb->button_clear_queue();
while (true)
{