Advertisement
Guest User

Untitled

a guest
Aug 19th, 2013
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.19 KB | None | 0 0
  1. int ModApiMainMenu::l_gettext(lua_State *L)
  2. {
  3.     std::wstring wlabel = wstrgettext((std::string) luaL_checkstring(L, 1));   
  4.     lua_pushstring(L, wide_to_narrow(wlabel).c_str());
  5.  
  6.     return 1;
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement