From 5973d8204270849baa12cc185ad1c815ad92bb40 Mon Sep 17 00:00:00 2001 From: Michael Uleysky Date: Sun, 25 Oct 2015 17:32:32 +1000 Subject: [PATCH] Gmt module: Transformation to lowercase was not used then setting projection by name. --- modules/gmt/modgmt_structs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/gmt/modgmt_structs.h b/modules/gmt/modgmt_structs.h index e163488..255b636 100644 --- a/modules/gmt/modgmt_structs.h +++ b/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; }