Fix C_ call to work when gettext is present

This commit is contained in:
ridiculousfish 2014-10-30 21:59:23 -07:00
parent a177eb8c16
commit 173a6a71c0

View File

@ -103,7 +103,7 @@
#ifdef USE_GETTEXT
static const wchar_t *C_(const wcstring &s)
{
return s.empty() ? L"" : wgettext(s);
return s.empty() ? L"" : wgettext(s.c_str());
}
#else
static const wcstring &C_(const wcstring &s)