Skip to content

Commit 6ab6088

Browse files
committed
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.
1 parent 5bfaf9b commit 6ab6088

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mapfile.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6002,6 +6002,7 @@ static void writeMap(FILE *stream, int indent, mapObj *map)
60026002
colorObj c;
60036003

60046004
writeBlockBegin(stream, indent, "MAP");
6005+
writeNumber(stream, indent, "ANGLE", 0, map->gt.rotation_angle);
60056006
writeHashTableInline(stream, indent, "CONFIG", &(map->configoptions));
60066007
writeString(stream, indent, "DATAPATTERN", NULL, map->datapattern); /* depricated */
60076008
writeNumber(stream, indent, "DEBUG", 0, map->debug);

0 commit comments

Comments
 (0)