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; proj=NOTDEF;
std::string str=s; std::string str=s;
tolower(str); tolower(str);
if(projnames.end()==projnames.find(s)) return false; if(projnames.end()==projnames.find(str)) return false;
proj=projnames[s]; proj=projnames[str];
return true; return true;
} }

Loading…
Cancel
Save