diff options
Diffstat (limited to 'src/wutil.h')
-rw-r--r-- | src/wutil.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wutil.h b/src/wutil.h index 9fc61096..b5c77870 100644 --- a/src/wutil.h +++ b/src/wutil.h @@ -84,7 +84,7 @@ std::wstring wbasename(const std::wstring &path); /// gettext function, wgettext takes care of setting the correct domain, etc. using the textdomain /// and bindtextdomain functions. This should probably be moved out of wgettext, so that wgettext /// will be nothing more than a wrapper around gettext, like all other functions in this file. -const wchar_t *wgettext(const wchar_t *in); +const wcstring &wgettext(const wchar_t *in); /// Wide character version of mkdir. int wmkdir(const wcstring &dir, int mode); |