Bläddra i källkod

gislib: ignore case when comparing units in G_compare_projections()

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@71566 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 7 år sedan
förälder
incheckning
9ebfbe6706
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      lib/gis/make_loc.c

+ 1 - 1
lib/gis/make_loc.c

@@ -166,7 +166,7 @@ int G_compare_projections(const struct Key_Value *proj_info1,
 	if ((u_1 && !u_2) || (!u_1 && u_2))
 	    return -2;
 
-	if (u_1 && u_2 && strcmp(u_1, u_2))
+	if (u_1 && u_2 && G_strcasecmp(u_1, u_2))
 	    return -2;
     }