summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/fractals/fractal.c3
1 files changed, 2 insertions, 1 deletions
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;