From 064bbebc5bbe5ce7e36f377777d627089440d16f Mon Sep 17 00:00:00 2001 From: Yves Rizoud Date: Sun, 8 Apr 2012 14:45:56 +0000 Subject: [PATCH] Fix part of issue 459: In anim mode, Color-replacer didn't refresh the screen git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1943 416bcca6-2ee7-4201-b75f-2eb2f807beb1 --- src/graph.c | 14 ++++++++++---- src/misc.c | 15 --------------- src/misc.h | 1 - src/operatio.c | 14 ++++++-------- 4 files changed, 16 insertions(+), 28 deletions(-) diff --git a/src/graph.c b/src/graph.c index 13e5dac0..82b03756 100644 --- a/src/graph.c +++ b/src/graph.c @@ -2693,7 +2693,7 @@ void Polyfill(int vertices, short * points, int color) //------------ Remplacement de la couleur pointée par une autre -------------- -void Replace(byte New_color) +void Replace(byte new_color) { byte old_color; @@ -2701,11 +2701,17 @@ void Replace(byte New_color) && (Paintbrush_Y