fix crash after unplugging USB while in image viewer plugin.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28211 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Teruaki Kawashima 2010-10-05 13:17:02 +00:00
parent d402abe3f8
commit 85f1df1b1a
2 changed files with 8 additions and 6 deletions

View file

@ -403,9 +403,6 @@ void cb_progress(int current, int total)
#define VSCROLL (LCD_HEIGHT/8)
#define HSCROLL (LCD_WIDTH/10)
#define ZOOM_IN 100 /* return codes for below function */
#define ZOOM_OUT 101
/* Pan the viewing window right - move image to the left and fill in
the right-hand side */
static void pan_view_right(struct image_info *info)