fix built-in spelling on linux

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

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;