mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-12 16:50:19 +00:00
fix built-in spelling on linux
This commit is contained in:
@@ -10,8 +10,8 @@ EXTRA_DIST = \
|
||||
about.h ascii.h banlist.h chanlist.h chanview.h chanview-tabs.c \
|
||||
chanview-tree.c custom-list.h editlist.h fe-gtk.h fkeys.h gtkutil.h joind.h \
|
||||
maingui.h menu.h mmx_cmod.S mmx_cmod.h notifygui.h palette.h pixmaps.h \
|
||||
plugin-tray.h plugingui.c plugingui.h rawlog.h search.h sexy-spell-entry.h \
|
||||
textgui.h urlgrab.h userlistgui.h xtext.h
|
||||
plugin-tray.h plugingui.c plugingui.h rawlog.h search.h sexy-iso-codes.h \
|
||||
sexy-spell-entry.h sexy-marshal.h textgui.h urlgrab.h userlistgui.h xtext.h
|
||||
|
||||
if USE_MMX
|
||||
mmx_cmod_S = mmx_cmod.S
|
||||
@@ -22,11 +22,12 @@ plugingui_c = plugingui.c
|
||||
endif
|
||||
|
||||
if USE_LIBSEXY
|
||||
sexy_spell_entry_c = sexy-spell-entry.c
|
||||
sexy_spell = \
|
||||
sexy-iso-codes.c sexy-marshal.c sexy-spell-entry.c
|
||||
endif
|
||||
|
||||
xchat_SOURCES = about.c ascii.c banlist.c chanlist.c chanview.c custom-list.c \
|
||||
dccgui.c editlist.c fe-gtk.c fkeys.c gtkutil.c ignoregui.c joind.c menu.c \
|
||||
maingui.c $(mmx_cmod_S) notifygui.c palette.c pixmaps.c plugin-tray.c $(plugingui_c) \
|
||||
rawlog.c search.c servlistgui.c setup.c $(sexy_spell_entry_c) textgui.c \
|
||||
rawlog.c search.c servlistgui.c setup.c $(sexy_spell) textgui.c \
|
||||
urlgrab.c userlistgui.c xtext.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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user