Skip to content

Commit

Permalink
Update gisinit.c
Browse files Browse the repository at this point in the history
re-enable the version check, it is there for a reason. TODO: adapt GIS_H_VERSION for git.
The version check is working for C modules, please fix ctypes if there are problems.
  • Loading branch information
metzm authored and neteler committed Jan 11, 2020
1 parent 028be5d commit a8b92e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gis/gisinit.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ void G__gisinit(const char *version, const char *pgm)
"trying to use version %s. "
"You need to rebuild GRASS GIS or untangle multiple installations."),
version, GIS_H_VERSION);

/* Make sure location and mapset are set */
G_location_path();
mapset = G_mapset();
Expand Down

0 comments on commit a8b92e8

Please sign in to comment.