diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2016-03-27 18:01:19 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2016-03-27 18:01:19 -0700 |
commit | bb5608e920043070498a16bec30fb4d3cebfd0db (patch) | |
tree | df2c2e54a49fc372565440e5464b144bd70daa56 /src | |
parent | 6495bd470d40b2b489e6fe350e2da08be64d4bec (diff) |
Remove an unnecessary c_str()
Diffstat (limited to 'src')
-rw-r--r-- | src/wutil.cpp | 2 |
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; |