mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
Functions that take a boolean argument now properly type-check for it.
--HG-- branch : minor
This commit is contained in:
@@ -595,7 +595,7 @@ int w_getSize(lua_State *L)
|
||||
|
||||
int w_setSymlinksEnabled(lua_State *L)
|
||||
{
|
||||
instance()->setSymlinksEnabled(luax_toboolean(L, 1));
|
||||
instance()->setSymlinksEnabled(luax_checkboolean(L, 1));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user