3 @@ -9,12 +9,7 @@ char* FcitxLibPinyinGetSysPath(LIBPINYIN_LANGUAGE_TYPE type)
4 #ifdef LIBPINYIN_TOOLS_FOUND
5 if (type == LPLT_Simplified) {
7 - /* portable detect here */
8 - if (getenv("FCITXDIR")) {
9 - syspath = fcitx_utils_get_fcitx_path_with_filename("datadir", "libpinyin/data");
11 - syspath = strdup(LIBPINYIN_PKGDATADIR "/data");
13 + syspath = strdup(LIBPINYIN_PKGDATADIR "/data");
14 #ifdef LIBPINYIN_TOOLS_FOUND