Introduce wgettext
All usages of gettext() are converted to wchars, so let's factor this into a single inline.
This commit is contained in:
parent
60bd878f0a
commit
817180bd55
@ -30,6 +30,11 @@ inline wchar_t* chartowchar_t(const char *str)
|
|||||||
return nstr;
|
return nstr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
inline wchar_t* wgettext(const char *str)
|
||||||
|
{
|
||||||
|
return chartowchar_t(gettext(str));
|
||||||
|
}
|
||||||
|
|
||||||
inline void changeCtype(const char *l)
|
inline void changeCtype(const char *l)
|
||||||
{
|
{
|
||||||
char *ret = NULL;
|
char *ret = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user