From: Glenn M. <gma...@us...> - 2005-05-07 19:41:02
|
Update of /cvsroot/stepmania/stepmania/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13564 Modified Files: MenuTimer.cpp Log Message: fix Lua stack leak Index: MenuTimer.cpp =================================================================== RCS file: /cvsroot/stepmania/stepmania/src/MenuTimer.cpp,v retrieving revision 1.61 retrieving revision 1.62 diff -u -d -p -r1.61 -r1.62 --- MenuTimer.cpp 5 May 2005 12:03:36 -0000 1.61 +++ MenuTimer.cpp 7 May 2005 19:40:52 -0000 1.62 @@ -167,7 +167,7 @@ void MenuTimer::SetText( float fSeconds lua_call(LUA->L, 1, 1); CString sText; - LuaHelpers::FromStack( sText, -1, LUA->L ); + LuaHelpers::PopStack( sText, LUA->L ); m_text[i].SetText( sText ); } |