mirror of
https://github.com/love2d/love-android.git
synced 2026-08-16 08:11:44 +02:00
using latest love-android @ changeset 8659be0e75a3
This commit is contained in:
@@ -28,7 +28,7 @@ namespace joystick
|
||||
namespace sdl
|
||||
{
|
||||
|
||||
static JoystickModule *instance = 0;
|
||||
static JoystickModule *instance = nullptr;
|
||||
|
||||
int w_getJoysticks(lua_State *L)
|
||||
{
|
||||
@@ -194,7 +194,7 @@ static const lua_CFunction types[] =
|
||||
|
||||
extern "C" int luaopen_love_joystick(lua_State *L)
|
||||
{
|
||||
if (instance == 0)
|
||||
if (instance == nullptr)
|
||||
{
|
||||
EXCEPT_GUARD(instance = new JoystickModule();)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user