mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-07-03 18:21:16 -03:00
Remove an unnecessary c_str()
This commit is contained in:
@@ -493,7 +493,7 @@ const wchar_t *wgettext(const wchar_t *in)
|
||||
{
|
||||
cstring mbs_in = wcs2string(key);
|
||||
char *out = fish_gettext(mbs_in.c_str());
|
||||
val = format_string(L"%s", out).c_str();
|
||||
val = format_string(L"%s", out);
|
||||
}
|
||||
errno = err;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user