diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-17 15:55:54 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-17 15:55:54 -0800 |
commit | 8f1423946fd3ab9d5bca168de7fb12b9c397b034 (patch) | |
tree | 68031b5db0c159b8a4223f8c89b0d86fb2bf61d6 /wutil.h | |
parent | 51da4856e2ff124d8d5ad7a4a6ca844c81825133 (diff) |
Fix a crash when using quotes due to wgettext thread safety issues.
Diffstat (limited to 'wutil.h')
-rw-r--r-- | wutil.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -15,7 +15,7 @@ #include <sys/types.h> #include <stdarg.h> #include <string> - +#include "common.h" /** @@ -134,6 +134,7 @@ std::wstring wbasename( const std::wstring &path); around gettext, like all other functions in this file. */ const wchar_t *wgettext( const wchar_t *in ); +wcstring wgettext2(const wcstring &in); /** Wide character version of getenv |