mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Get rid of wgettext
This commit is contained in:
@@ -202,7 +202,7 @@ int ModApiClient::l_disconnect(lua_State *L)
|
||||
// gettext(text)
|
||||
int ModApiClient::l_gettext(lua_State *L)
|
||||
{
|
||||
std::string text = strgettext(std::string(luaL_checkstring(L, 1)));
|
||||
std::string text = strgettext(luaL_checkstring(L, 1));
|
||||
lua_pushstring(L, text.c_str());
|
||||
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user