aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/wutil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wutil.cpp b/src/wutil.cpp
index 62602c2c..a4494470 100644
--- a/src/wutil.cpp
+++ b/src/wutil.cpp
@@ -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;