diff --git a/complete.cpp b/complete.cpp index 6397a2504..385176bed 100644 --- a/complete.cpp +++ b/complete.cpp @@ -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)