--- 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(" \n"); dia_printf(" \n", dia_resolve_color(cp->pencolor));