summaryrefslogtreecommitdiffstats
path: root/apps/plugins/imageviewer/imageviewer.c
diff options
context:
space:
mode:
authorTeruaki Kawashima <teru@rockbox.org>2010-10-05 13:17:02 +0000
committerTeruaki Kawashima <teru@rockbox.org>2010-10-05 13:17:02 +0000
commit85f1df1b1ac4571ac81b505d10bce8ad4e19ec5b (patch)
treefb5cea5bef220d972f9a489d80c2627cca9a9dd4 /apps/plugins/imageviewer/imageviewer.c
parentd402abe3f8b2148aa23c1e5bb4d25991984a0798 (diff)
downloadrockbox-85f1df1b1ac4571ac81b505d10bce8ad4e19ec5b.tar.gz
rockbox-85f1df1b1ac4571ac81b505d10bce8ad4e19ec5b.zip
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
Diffstat (limited to 'apps/plugins/imageviewer/imageviewer.c')
-rw-r--r--apps/plugins/imageviewer/imageviewer.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/plugins/imageviewer/imageviewer.c b/apps/plugins/imageviewer/imageviewer.c
index eb1ce498a1..e3c72ae291 100644
--- a/apps/plugins/imageviewer/imageviewer.c
+++ b/apps/plugins/imageviewer/imageviewer.c
@@ -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)