aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/platform_osystem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/platform_osystem.cpp')
-rw-r--r--engines/wintermute/platform_osystem.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/wintermute/platform_osystem.cpp b/engines/wintermute/platform_osystem.cpp
index f13bdd2a3c..362c0da624 100644
--- a/engines/wintermute/platform_osystem.cpp
+++ b/engines/wintermute/platform_osystem.cpp
@@ -36,8 +36,8 @@
namespace Wintermute {
-BaseGame *BasePlatform::_gameRef = NULL;
-WintermuteEngine *BasePlatform::_engineRef = NULL;
+BaseGame *BasePlatform::_gameRef = nullptr;
+WintermuteEngine *BasePlatform::_engineRef = nullptr;
#define CLASS_NAME "GF_FRAME"
int BasePlatform::initialize(WintermuteEngine *engineRef, BaseGame *inGame, int argc, char *argv[]) {
@@ -47,8 +47,8 @@ int BasePlatform::initialize(WintermuteEngine *engineRef, BaseGame *inGame, int
}
void BasePlatform::deinit() {
- _gameRef = NULL;
- _engineRef = NULL;
+ _gameRef = nullptr;
+ _engineRef = nullptr;
}
//////////////////////////////////////////////////////////////////////////
@@ -247,7 +247,7 @@ bool BasePlatform::unionRect(Rect32 *lprcDst, Rect32 *lprcSrc1, Rect32 *lprcSrc2
//////////////////////////////////////////////////////////////////////////
bool BasePlatform::copyRect(Rect32 *lprcDst, Rect32 *lprcSrc) {
- if (lprcDst == NULL || lprcSrc == NULL) {
+ if (lprcDst == nullptr || lprcSrc == nullptr) {
return false;
}