aboutsummaryrefslogtreecommitdiffhomepage
path: root/wutil.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-12-08 21:54:06 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-12-08 21:54:06 -0800
commit7a3f5afee7b6a6ab9f801ca3cd65c2c552554987 (patch)
treea4a0f885f92b215ee44b31b04760782356ea15c0 /wutil.cpp
parent5769fa6aed981e02d9e0f9f7c83f77e677f8c84f (diff)
Initial work towars improved error reporting. Tests currently fail.
Diffstat (limited to 'wutil.cpp')
-rw-r--r--wutil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/wutil.cpp b/wutil.cpp
index 3f70368e..ffb4f2b2 100644
--- a/wutil.cpp
+++ b/wutil.cpp
@@ -476,7 +476,7 @@ const wchar_t *wgettext(const wchar_t *in)
{
cstring mbs_in = wcs2string(key);
char *out = fish_gettext(mbs_in.c_str());
- val = new wcstring(format_string(L"%s", out));
+ val = new wcstring(format_string(L"%s", out)); //note that this writes into the map!
}
errno = err;
return val->c_str();