Remove an unnecessary c_str()

This commit is contained in:
ridiculousfish
2016-03-27 18:01:19 -07:00
parent 6495bd470d
commit bb5608e920

View File

@@ -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;