summaryrefslogtreecommitdiffstats
path: root/hacks/drift.c
diff options
context:
space:
mode:
Diffstat (limited to 'hacks/drift.c')
-rw-r--r--hacks/drift.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hacks/drift.c b/hacks/drift.c
index e88986b..376d926 100644
--- a/hacks/drift.c
+++ b/hacks/drift.c
@@ -631,7 +631,8 @@ draw_drift(ModeInfo * mi)
if (dp->total_points++ > dp->fractal_len) {
draw_flush(mi, dp, window);
if (0 == --dp->nfractals) {
- dp->erase_countdown = 4 * 1000000 / MI_PAUSE(mi);
+ dp->erase_countdown = 4 * 1000000 /
+ ((MI_PAUSE(mi) == 0) ? 1 : MI_PAUSE(mi));
return;
}
initfractal(mi);