fix built-in spelling on linux

This commit is contained in:
Berke Viktor committed 2011-12-11 19:27:37 +01:00
1 parent 13ee029364
commit 38a42ed519
3 files changed
+18 -4

No files matched your search

+4
View File
@@ -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;