From: erg Date: Fri, 23 Feb 2007 19:08:03 +0000 (+0000) Subject: Fix bug 1086 X-Git-Tag: LAST_LIBGRAPH~32^2~5659 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ed9caee519f05f1192da1ae874cafa878b4f96b8;p=graphviz Fix bug 1086 --- 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;