From ed9caee519f05f1192da1ae874cafa878b4f96b8 Mon Sep 17 00:00:00 2001 From: erg Date: Fri, 23 Feb 2007 19:08:03 +0000 Subject: [PATCH] Fix bug 1086 --- lib/common/shapes.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/common/shapes.c b/lib/common/shapes.c index 4f7887084..dc1dd1bc1 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -250,10 +250,9 @@ char *findFill(node_t * n) color = "black"; } #ifdef WITH_CODEGENS - else { - color = (Output_lang == MIF ? "black" : DEFAULT_FILL); - } + else if (Output_lang == MIF) color = "black"; #endif + else color = DEFAULT_FILL; } } return color; -- 2.40.0