Minor code cleanup

This commit is contained in:
Alex Szpakowski
2014-05-01 14:12:21 -03:00
parent e667485f68
commit e4dc533bb2
26 changed files with 112 additions and 110 deletions
+1 -1
View File
@@ -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);