From: Arnaud Giersch Date: Tue, 15 Nov 2011 13:55:22 +0000 (+0100) Subject: Minor bug fix. X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/graphlib.git/commitdiff_plain/0994c4d934338c08427d6d0b8b6c8dd5bde8f412?ds=sidebyside Minor bug fix. --- 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);