From 0994c4d934338c08427d6d0b8b6c8dd5bde8f412 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 15 Nov 2011 14:55:22 +0100 Subject: [PATCH] Minor bug fix. --- mandel/mandel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mandel/mandel.cpp b/mandel/mandel.cpp index 61e8e3c..1ea4115 100644 --- a/mandel/mandel.cpp +++ b/mandel/mandel.cpp @@ -99,7 +99,7 @@ void do_mandel(DrawingWindow& w, parameters& p) int i = check_point(p, cr, ci); if (i != iprev) { set_color(w, p, i); - iprev = 1; + iprev = -1; } if (k > 2) { w.fillRect(x, y, x + k - 1, y + k - 1); -- 2.20.1