summary refs log tree commit diff stats
path: root/src/fe-gtk/sexy-iso-codes.c
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2011-12-11 19:27:37 +0100
committerBerke Viktor <berkeviktor@aol.com>2011-12-11 19:27:37 +0100
commit38a42ed51950661edd5a5ea59151795e12b259f3 (patch)
tree724f1cbbe4cc932ea277f61d789a53b81d0e5fb4 /src/fe-gtk/sexy-iso-codes.c
parent13ee029364b37eca95c43641420e75c872b32653 (diff)
fix built-in spelling on linux
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;