diff options
Diffstat (limited to 'src/myspell/myspell_checker.cpp')
-rw-r--r-- | src/myspell/myspell_checker.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/myspell/myspell_checker.cpp b/src/myspell/myspell_checker.cpp index f105341..df9683e 100644 --- a/src/myspell/myspell_checker.cpp +++ b/src/myspell/myspell_checker.cpp @@ -198,20 +198,14 @@ myspell_checker_get_dictionary_dirs (EnchantBroker * broker) } } - /* until I work out how to link the modules against enchant in MacOSX - fjf - */ -#ifndef XP_TARGET_COCOA - char * myspell_prefix = NULL; - /* Dynamically locate library and search for modules relative to it. */ char * enchant_prefix = enchant_get_prefix_dir(); if(enchant_prefix) { - myspell_prefix = g_build_filename(enchant_prefix, "share", "enchant", "myspell", NULL); + char * myspell_prefix = g_build_filename(enchant_prefix, "share", "enchant", "myspell", NULL); g_free(enchant_prefix); dirs = g_slist_append (dirs, myspell_prefix); } -#endif #ifdef ENCHANT_MYSPELL_DICT_DIR dirs = g_slist_append (dirs, g_strdup (ENCHANT_MYSPELL_DICT_DIR)); |