From 2115faec3867ada3a07aa7900ea0a871529343f3 Mon Sep 17 00:00:00 2001 From: Filip Gawin Date: Sun, 30 Jun 2019 12:53:39 +0200 Subject: Cleanup project a bit --- src/skel/skeleton.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/skel/skeleton.cpp') diff --git a/src/skel/skeleton.cpp b/src/skel/skeleton.cpp index aa49d218..ecc0083d 100644 --- a/src/skel/skeleton.cpp +++ b/src/skel/skeleton.cpp @@ -303,12 +303,12 @@ RsRwInitialise(void *displayID) /* * Initialize debug message handling... */ - RsEventHandler(rsINITDEBUG, NULL); + RsEventHandler(rsINITDEBUG, nil); /* * Attach all plugins... */ - if (RsEventHandler(rsPLUGINATTACH, NULL) == rsEVENTERROR) + if (RsEventHandler(rsPLUGINATTACH, nil) == rsEVENTERROR) { return (FALSE); } @@ -316,7 +316,7 @@ RsRwInitialise(void *displayID) /* * Attach input devices... */ - if (RsEventHandler(rsINPUTDEVICEATTACH, NULL) == rsEVENTERROR) + if (RsEventHandler(rsINPUTDEVICEATTACH, nil) == rsEVENTERROR) { return (FALSE); } @@ -346,7 +346,7 @@ RsRwInitialise(void *displayID) /* * Register loaders for an image with a particular file extension... */ - RsEventHandler(rsREGISTERIMAGELOADER, NULL); + RsEventHandler(rsREGISTERIMAGELOADER, nil); psNativeTextureSupport(); @@ -390,17 +390,17 @@ RsInitialise(void) /* setup the keyboard */ RsGlobal.keyboard.inputDeviceType = rsKEYBOARD; - RsGlobal.keyboard.inputEventHandler = 0; + RsGlobal.keyboard.inputEventHandler = nil; RsGlobal.keyboard.used = FALSE; /* setup the mouse */ RsGlobal.mouse.inputDeviceType = rsMOUSE; - RsGlobal.mouse.inputEventHandler = 0; + RsGlobal.mouse.inputEventHandler = nil; RsGlobal.mouse.used = FALSE; /* setup the pad */ RsGlobal.pad.inputDeviceType = rsPAD; - RsGlobal.pad.inputEventHandler = 0; + RsGlobal.pad.inputEventHandler = nil; RsGlobal.pad.used = FALSE; result = psInitialise(); -- cgit v1.2.3