summaryrefslogtreecommitdiffstats
path: root/apps/plugins/fractals/fractal.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/fractals/fractal.c')
-rw-r--r--apps/plugins/fractals/fractal.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/fractals/fractal.c b/apps/plugins/fractals/fractal.c
index aa8f39853c..7543963ded 100644
--- a/apps/plugins/fractals/fractal.c
+++ b/apps/plugins/fractals/fractal.c
@@ -167,8 +167,8 @@ enum plugin_status plugin_start(const void* parameter)
if (lastbutton != FRACTAL_ZOOM_OUT_PRE)
break;
#endif
- ops->zoom(-1);
- redraw = REDRAW_FULL;
+ if (!ops->zoom(-1))
+ redraw = REDRAW_FULL;
break;
@@ -180,8 +180,8 @@ enum plugin_status plugin_start(const void* parameter)
#ifdef FRACTAL_ZOOM_IN2
case FRACTAL_ZOOM_IN2:
#endif
- ops->zoom(1);
- redraw = REDRAW_FULL;
+ if (!ops->zoom(1))
+ redraw = REDRAW_FULL;
break;
case FRACTAL_UP: