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
+2 -2
View File
@@ -30,7 +30,7 @@ namespace sdl
{
Cursor::Cursor(image::ImageData *data, int hotx, int hoty)
: cursor(0)
: cursor(nullptr)
, type(CURSORTYPE_IMAGE)
, systemType(CURSOR_MAX_ENUM)
{
@@ -63,7 +63,7 @@ Cursor::Cursor(image::ImageData *data, int hotx, int hoty)
}
Cursor::Cursor(mouse::Cursor::SystemCursor cursortype)
: cursor(0)
: cursor(nullptr)
, type(CURSORTYPE_SYSTEM)
, systemType(cursortype)
{