aboutsummaryrefslogtreecommitdiffhomepage
path: root/wutil.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-04-08 10:20:56 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-04-08 10:20:56 -0700
commitb936be8e34738218e9741f3b36a0c27de99ec290 (patch)
treed0609e1a7e004eb50e56f7765341f337bb36c928 /wutil.cpp
parentb8f34cdd35cfddb4573e6b1ccc8f063b840b6b54 (diff)
Hack up gettext to try to fix CentOS build
Diffstat (limited to 'wutil.cpp')
-rw-r--r--wutil.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/wutil.cpp b/wutil.cpp
index fe5a3f49..03b55c89 100644
--- a/wutil.cpp
+++ b/wutil.cpp
@@ -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;