diff options
Diffstat (limited to 'src/gettext.h')
-rw-r--r-- | src/gettext.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gettext.h b/src/gettext.h index ff3a0f8cb..f2cb8e471 100644 --- a/src/gettext.h +++ b/src/gettext.h @@ -30,6 +30,11 @@ inline wchar_t* chartowchar_t(const char *str) return nstr; } +inline wchar_t* wgettext(const char *str) +{ + return chartowchar_t(gettext(str)); +} + inline void changeCtype(const char *l) { char *ret = NULL; |