fix gui.alert
This commit is contained in:
@@ -22,6 +22,9 @@ namespace lua {
|
||||
|
||||
inline void pop(lua::State* L, int n = 1) {
|
||||
#ifndef NDEBUG
|
||||
if (n < 0) {
|
||||
abort();
|
||||
}
|
||||
if (lua_gettop(L) < n) {
|
||||
abort();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user