shared-macros.mk: simplify java settings
[oi-userland.git] / components / library / xdg-user-dirs / patches / 02-g11n-launch-none-utf8.patch
blob10417ee871ba53f109cd32819ac4507683deb26e
1 --- xdg-user-dirs-0.10-bak/xdg-user-dirs-update.c.orig 2008-03-26 12:32:44.000000000 +0900
2 +++ xdg-user-dirs-0.10-bak/xdg-user-dirs-update.c 2008-08-21 00:00:14.198461000 +0900
3 @@ -718,7 +718,7 @@ save_locale (void)
4 locale = strdup (setlocale (LC_MESSAGES, NULL));
5 /* Skip encoding part */
6 dot = strchr (locale, '.');
7 - if (dot)
8 + if (dot && (filename_encoding == NULL))
9 *dot = 0;
10 fprintf (file, "%s", locale);
11 free (locale);