Browse Source

Gmt module: Transformation to lowercase was not used then setting projection by name.

ObjPtr
Michael Uleysky 9 years ago
parent
commit
5973d82042
  1. 4
      modules/gmt/modgmt_structs.h

4
modules/gmt/modgmt_structs.h

@ -207,8 +207,8 @@ struct gmt_projection
proj=NOTDEF;
std::string str=s;
tolower(str);
if(projnames.end()==projnames.find(s)) return false;
proj=projnames[s];
if(projnames.end()==projnames.find(str)) return false;
proj=projnames[str];
return true;
}

Loading…
Cancel
Save