xdg-user-dirs-gtk/specialcase-en.patch

13 lines
475 B
Diff
Raw Normal View History

diff -up xdg-user-dirs-gtk-0.6/update.c.specialcase-en xdg-user-dirs-gtk-0.6/update.c
--- xdg-user-dirs-gtk-0.6/update.c.specialcase-en 2007-10-01 13:02:51.000000000 -0400
+++ xdg-user-dirs-gtk-0.6/update.c 2007-10-01 13:03:03.000000000 -0400
@@ -45,7 +45,7 @@ has_xdg_translation (void)
locale = setlocale (LC_MESSAGES, NULL);
- if (strcmp (locale, "en_US") == 0 ||
+ if (strncmp (locale, "en_US", 5) == 0 ||
strcmp (locale, "C") == 0)
return TRUE;