From eb7dd8e45c40152ada7cdff70601c34ad73bd21d Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 7 May 2005 19:40:52 +0000 Subject: [PATCH] fix Lua stack leak --- stepmania/src/MenuTimer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/MenuTimer.cpp b/stepmania/src/MenuTimer.cpp index bc84db9e4a..21c05e817d 100644 --- a/stepmania/src/MenuTimer.cpp +++ b/stepmania/src/MenuTimer.cpp @@ -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 ); }