love.event.quit now accepts a single (optional) argument, which is used as the program's exit status number. Resolves issue #1070.

This commit is contained in:
Alex Szpakowski
2015-08-25 17:12:59 -03:00
parent 55b9899c82
commit e979455772
5 changed files with 16 additions and 7 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ Variant::~Variant()
Variant *Variant::fromLua(lua_State *L, int n, bool allowTables)
{
Variant *v = NULL;
Variant *v = nullptr;
size_t len;
const char *str;
if (n < 0) // Fix the stack position, we might modify it later