Permalink
Browse files

writeMap(): Adding ANGLE to directives saved

ANGLE is missing in the directives for the generated mapfile, when
calling mapfile.c:writeMap() ; this commit aims to save the custom
angle.
  • Loading branch information...
pmauduit committed Sep 28, 2014
1 parent 5bfaf9b commit 6ab60889ccf232a6dfbb9a9da94e176af31f7de4
Showing with 1 addition and 0 deletions.
  1. +1 −0 mapfile.c
View
@@ -6002,6 +6002,7 @@ static void writeMap(FILE *stream, int indent, mapObj *map)
colorObj c;
writeBlockBegin(stream, indent, "MAP");
+ writeNumber(stream, indent, "ANGLE", 0, map->gt.rotation_angle);
writeHashTableInline(stream, indent, "CONFIG", &(map->configoptions));
writeString(stream, indent, "DATAPATTERN", NULL, map->datapattern); /* depricated */
writeNumber(stream, indent, "DEBUG", 0, map->debug);

0 comments on commit 6ab6088

Please sign in to comment.