summaryrefslogtreecommitdiff
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)
167 if (lastbutton != FRACTAL_ZOOM_OUT_PRE) 167 if (lastbutton != FRACTAL_ZOOM_OUT_PRE)
168 break; 168 break;
169#endif 169#endif
170 ops->zoom(-1); 170 if (!ops->zoom(-1))
171 redraw = REDRAW_FULL; 171 redraw = REDRAW_FULL;
172 break; 172 break;
173 173
174 174
@@ -180,8 +180,8 @@ enum plugin_status plugin_start(const void* parameter)
180#ifdef FRACTAL_ZOOM_IN2 180#ifdef FRACTAL_ZOOM_IN2
181 case FRACTAL_ZOOM_IN2: 181 case FRACTAL_ZOOM_IN2:
182#endif 182#endif
183 ops->zoom(1); 183 if (!ops->zoom(1))
184 redraw = REDRAW_FULL; 184 redraw = REDRAW_FULL;
185 break; 185 break;
186 186
187 case FRACTAL_UP: 187 case FRACTAL_UP: