From 51d23bb03ca1f80dc2e6b187a9d02e6fbda61251 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 16 Feb 2005 03:40:44 +0000 Subject: [PATCH] fix comments --- stepmania/src/ScreenOptionsMaster.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ScreenOptionsMaster.cpp b/stepmania/src/ScreenOptionsMaster.cpp index 0e21d8b2b1..7b58e197f2 100644 --- a/stepmania/src/ScreenOptionsMaster.cpp +++ b/stepmania/src/ScreenOptionsMaster.cpp @@ -671,7 +671,7 @@ int ScreenOptionsMaster::ExportOption( const OptionRowDefinition &row, const Opt { ASSERT( lua_gettop(LUA->L) == 0 ); - /* Evaluate the GetValue(self,array,pn) function, where array is a table + /* Evaluate SetSelections(self,array,pn) function, where array is a table * representing vbSelectedOut. */ /* Hack: the NextRow entry is never set, and should be transparent. Remove it. */ @@ -703,7 +703,7 @@ int ScreenOptionsMaster::ExportOption( const OptionRowDefinition &row, const Opt ASSERT( lua_gettop(LUA->L) == 5 ); /* vbSelectedOut, m_iLuaTable, function, arg, arg */ - lua_call( LUA->L, 2, 0 ); // call function with 3 arguments and 0 results + lua_call( LUA->L, 2, 0 ); // call function with 2 arguments and 0 results ASSERT( lua_gettop(LUA->L) == 2 ); lua_pop( LUA->L, 1 ); /* pop option table */