summary refs log tree commit diff stats
path: root/src/fe-gtk/sexy-iso-codes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-gtk/sexy-iso-codes.c')
-rw-r--r--src/fe-gtk/sexy-iso-codes.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fe-gtk/sexy-iso-codes.c b/src/fe-gtk/sexy-iso-codes.c
index 3477cc30..4b637c9f 100644
--- a/src/fe-gtk/sexy-iso-codes.c
+++ b/src/fe-gtk/sexy-iso-codes.c
@@ -115,7 +115,11 @@ load_iso_entries (int iso,
 	char *filename;
 	int ret = -1;
 
+#ifdef WIN32
 	filename = g_strdup_printf (".\\share\\xml\\iso-codes\\iso_%d.xml", iso);
+#else
+	filename = g_strdup_printf ("/usr/share/xml/iso-codes/iso_%d.xml", iso);
+#endif
 	reader = xmlNewTextReaderFilename (filename);
 	if (reader == NULL) goto out;