mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 05:59:15 +08:00
Fix C_ call to work when gettext is present
This commit is contained in:
parent
a177eb8c16
commit
173a6a71c0
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user