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 c601712b11..d760812b86 100644
--- a/apps/plugins/jpeg.c
+++ b/apps/plugins/jpeg.c
@@ -1520,7 +1520,7 @@ int scroll_bmp(struct t_disp* pdisp)
1520 int lastbutton = 0; 1520 int lastbutton = 0;
1521 1521
1522 /*empty the button queue first, to avoid unwanted scrolling */ 1522 /*empty the button queue first, to avoid unwanted scrolling */
1523 while(rb->button_get(false) != BUTTON_NONE); 1523 rb->button_clear_queue();
1524 1524
1525 while (true) 1525 while (true)
1526 { 1526 {