diff options
Diffstat (limited to 'src/gettext.h')
-rw-r--r-- | src/gettext.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gettext.h b/src/gettext.h index 0170d1c45..cb3a14160 100644 --- a/src/gettext.h +++ b/src/gettext.h @@ -48,14 +48,6 @@ inline const wchar_t *wgettext(const char *str) return utf8_to_wide_c(gettext(str)); } -inline std::wstring wstrgettext(const std::string &text) -{ - const wchar_t *tmp = wgettext(text.c_str()); - std::wstring retval = (std::wstring)tmp; - delete[] tmp; - return retval; -} - inline std::string strgettext(const std::string &text) { return gettext(text.c_str()); |