summaryrefslogtreecommitdiff
path: root/gutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'gutils.c')
-rw-r--r--gutils.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/gutils.c b/gutils.c
index 221cc19ff..c48fb2d76 100644
--- a/gutils.c
+++ b/gutils.c
@@ -1009,11 +1009,12 @@ g_get_codeset (void)
#ifdef G_OS_WIN32
-#define GLIB_LOCALE_DIR \
- g_strconcat (g_win32_get_package_installation_directory (GETTEXT_PACKAGE), \
- G_DIR_SEPARATOR_S, \
- "locale", \
- NULL)
+#define GLIB_LOCALE_DIR \
+ g_win32_get_package_installation_subdirectory \
+ (GETTEXT_PACKAGE, g_strdup_printf ("glib-%d.%d.dll", \
+ GLIB_MAJOR_VERSION, \
+ GLIB_MINOR_VERSION), \
+ "locale")
#endif /* G_OS_WIN32 */