diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-01-26 22:48:25 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-01-26 22:48:25 +0000 |
commit | 3c348df5cafaf5d893c610fd2caf8234abe5cf88 (patch) | |
tree | 631a926bffd197b48c9e4edb8b568319808e74b7 /apps/plugins/jpeg.c | |
parent | 99d2a4b43642aef2ff859ed8195b62d3b2110a26 (diff) | |
download | rockbox-3c348df5cafaf5d893c610fd2caf8234abe5cf88.tar.gz rockbox-3c348df5cafaf5d893c610fd2caf8234abe5cf88.zip |
Changed several places to use button_clear_queue() to empty the button queue. Added the ability to empty the (system's) button queue to the X11 simulatr.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5665 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/jpeg.c')
-rw-r--r-- | apps/plugins/jpeg.c | 2 |
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 | { |