Skip to content

Commit

Permalink
Correctly initialize "scalebar" utility (#5141)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbonfort committed Sep 9, 2015
1 parent f916cad commit e5f8b61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scalebar.c
Expand Up @@ -36,6 +36,7 @@ int main(int argc, char *argv[])
mapObj *map=NULL;
imageObj *image = NULL;

msSetup();
if(argc > 1 && strcmp(argv[1], "-v") == 0) {
printf("%s\n", msGetVersion());
exit(0);
Expand Down

0 comments on commit e5f8b61

Please sign in to comment.