Skip to content
Browse files
Applied (backport) patch for #4810 to mapfile.c.
  • Loading branch information
sdlime committed Dec 4, 2013
1 parent f4882bf commit 21d8aedc1ed3854667cd29c113b374486fb53d9e
Showing 1 changed file with 2 additions and 2 deletions.
@@ -665,9 +665,9 @@ static void writeColor(FILE *stream, int indent, const char *name, colorObj *def
sprintf(buffer+4, "%02x", color->blue);
sprintf(buffer+6, "%02x", color->alpha);
*(buffer+8) = 0;
fprintf(stream, "%s \"#%s\"\n", name, buffer);
msIO_fprintf(stream, "%s \"#%s\"\n", name, buffer);
} else {
fprintf(stream, "%s %d %d %d\n", name, color->red, color->green, color->blue);
msIO_fprintf(stream, "%s %d %d %d\n", name, color->red, color->green, color->blue);

0 comments on commit 21d8aed

Please sign in to comment.