forked from pool/graphviz
12 lines
356 B
Diff
12 lines
356 B
Diff
--- lib/common/diagen.c
|
|
+++ lib/common/diagen.c
|
|
@@ -243,7 +243,7 @@
|
|
|
|
static void dia_grstyle(context_t * cp)
|
|
{
|
|
- if (cp->pencolor != DEFAULT_COLOR) {
|
|
+ if (strcmp(cp->pencolor, DEFAULT_COLOR)) {
|
|
dia_fputs(" <dia:attribute name=\"border_color\">\n");
|
|
dia_printf(" <dia:color val=\"%s\"/>\n",
|
|
dia_resolve_color(cp->pencolor));
|