mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user