File gtkspell-locale.patch of Package gtkspell

--- gtkspell/gtkspell.c
+++ gtkspell/gtkspell.c
@@ -496,7 +496,7 @@
 	if (lang == NULL) {
 		lang = g_getenv("LANG");
 		if (lang) {
-			if (g_strncasecmp(lang, "C", 1) == 0)
+			if (g_strcmp0(lang, "C") == 0)
 				lang = NULL;
 			else if (lang[0] == 0)
 				lang = NULL;
openSUSE Build Service is sponsored by