mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-28 04:35:09 +00:00
Fix C_ call to work when gettext is present
This commit is contained in:
parent
a177eb8c16
commit
173a6a71c0
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@
|
||||||
#ifdef USE_GETTEXT
|
#ifdef USE_GETTEXT
|
||||||
static const wchar_t *C_(const wcstring &s)
|
static const wchar_t *C_(const wcstring &s)
|
||||||
{
|
{
|
||||||
return s.empty() ? L"" : wgettext(s);
|
return s.empty() ? L"" : wgettext(s.c_str());
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static const wcstring &C_(const wcstring &s)
|
static const wcstring &C_(const wcstring &s)
|
||||||
|
|
Loading…
Reference in a new issue