diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2013-04-08 10:20:56 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-04-08 10:20:56 -0700 |
commit | b936be8e34738218e9741f3b36a0c27de99ec290 (patch) | |
tree | d0609e1a7e004eb50e56f7765341f337bb36c928 /wutil.cpp | |
parent | b8f34cdd35cfddb4573e6b1ccc8f063b840b6b54 (diff) |
Hack up gettext to try to fix CentOS build
Diffstat (limited to 'wutil.cpp')
-rw-r--r-- | wutil.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -439,8 +439,8 @@ wcstring wbasename(const wcstring &path) static void wgettext_really_init() { pthread_mutex_init(&wgettext_lock, NULL); - bindtextdomain(PACKAGE_NAME, LOCALEDIR); - textdomain(PACKAGE_NAME); + fish_bindtextdomain(PACKAGE_NAME, LOCALEDIR); + fish_textdomain(PACKAGE_NAME); } /** @@ -469,7 +469,7 @@ const wchar_t *wgettext(const wchar_t *in) if (val == NULL) { cstring mbs_in = wcs2string(key); - char *out = gettext(mbs_in.c_str()); + char *out = fish_gettext(mbs_in.c_str()); val = new wcstring(format_string(L"%s", out)); } errno = err; |