From d1357d8a13baaecfa589ed973f53483a7d5984bb Mon Sep 17 00:00:00 2001 From: Tomer Shalev Date: Sun, 17 Jan 2010 16:10:43 +0000 Subject: Fractals: Fix red git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24261 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/fractals/fractal.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/plugins/fractals/fractal.c b/apps/plugins/fractals/fractal.c index 6610210d61..aa8f39853c 100644 --- a/apps/plugins/fractals/fractal.c +++ b/apps/plugins/fractals/fractal.c @@ -76,7 +76,8 @@ static int button_yield(void *ctx) #ifdef FRACTAL_ZOOM_IN_PRE case FRACTAL_ZOOM_IN_PRE: #endif -#ifdef FRACTAL_ZOOM_OUT_PRE +#if defined(FRACTAL_ZOOM_OUT_PRE) && \ + (FRACTAL_ZOOM_OUT_PRE != FRACTAL_ZOOM_IN_PRE) case FRACTAL_ZOOM_OUT_PRE: #endif return 1; -- cgit v1.2.3