Permalink
Browse files

Applied (backport) patch for #4810 to mapfile.c.

  • Loading branch information...
1 parent f4882bf commit 21d8aedc1ed3854667cd29c113b374486fb53d9e @sdlime sdlime committed Dec 4, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 mapfile.c
View
@@ -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);
}
#endif
}

0 comments on commit 21d8aed

Please sign in to comment.