Update of /cvsroot/wxlua/wxLua/modules/wxlua/src
In directory vz-cvs-4.sog:/tmp/cvs-serv20410/modules/wxlua/src
Modified Files:
wxlstate.cpp
Log Message:
Cleanup docs using Kompozer.
Index: wxlstate.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/src/wxlstate.cpp,v
retrieving revision 1.192
retrieving revision 1.193
diff -C2 -d -r1.192 -r1.193
*** wxlstate.cpp 20 Oct 2011 03:53:57 -0000 1.192
--- wxlstate.cpp 7 Nov 2011 04:41:56 -0000 1.193
***************
*** 678,682 ****
lua_rawget(L, -2);
// this must never happen
! if (!lua_isnil(L, -1)) wxFAIL_MSG(wxT("Trying to push userdata for object with same wxLua type twice"));
lua_pop(L, 1); // pop nil
}
--- 678,685 ----
lua_rawget(L, -2);
// this must never happen
! if (!lua_isnil(L, -1))
! {
! wxFAIL_MSG(wxT("Trying to push userdata for object with same wxLua type twice"));
! }
lua_pop(L, 1); // pop nil
}
|