]> granicus.if.org Git - graphviz/commitdiff
Fix bug 1086
authorerg <devnull@localhost>
Fri, 23 Feb 2007 19:08:03 +0000 (19:08 +0000)
committererg <devnull@localhost>
Fri, 23 Feb 2007 19:08:03 +0000 (19:08 +0000)
lib/common/shapes.c

index 4f788708451c0afaae035590d2f31ce59e51a2c5..dc1dd1bc1dbd460f90743bd8ffef9c1f16248f18 100644 (file)
@@ -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;