mirror of
https://github.com/love2d/love.git
synced 2026-08-13 17:10:54 +02:00
Minor code cleanup
This commit is contained in:
@@ -36,7 +36,7 @@ int w_Cursor_getType(lua_State *L)
|
||||
Cursor *cursor = luax_checkcursor(L, 1);
|
||||
|
||||
Cursor::CursorType ctype = cursor->getType();
|
||||
const char *typestr = 0;
|
||||
const char *typestr = nullptr;
|
||||
|
||||
if (ctype == Cursor::CURSORTYPE_IMAGE)
|
||||
mouse::Cursor::getConstant(ctype, typestr);
|
||||
|
||||
Reference in New Issue
Block a user