diff options
author | Bastien Bouclet | 2018-03-31 12:52:08 +0200 |
---|---|---|
committer | Bastien Bouclet | 2018-03-31 13:36:09 +0200 |
commit | 84b2dc5cc85721570aa7aafdd9e3e96f0f04a025 (patch) | |
tree | 0326a67ec3cfda91f2419353fdd30b069d9e65c3 /engines/mohawk/cursors.cpp | |
parent | 494fd3bb52e054969eb94ed72dc2d12a6e412fd1 (diff) | |
download | scummvm-rg350-84b2dc5cc85721570aa7aafdd9e3e96f0f04a025.tar.gz scummvm-rg350-84b2dc5cc85721570aa7aafdd9e3e96f0f04a025.tar.bz2 scummvm-rg350-84b2dc5cc85721570aa7aafdd9e3e96f0f04a025.zip |
MOHAWK: Fix some clang-tidy warnings
Diffstat (limited to 'engines/mohawk/cursors.cpp')
-rw-r--r-- | engines/mohawk/cursors.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/mohawk/cursors.cpp b/engines/mohawk/cursors.cpp index cef24e14e5..84b1c73e04 100644 --- a/engines/mohawk/cursors.cpp +++ b/engines/mohawk/cursors.cpp @@ -151,7 +151,7 @@ NECursorManager::NECursorManager(const Common::String &appName) { if (!_exe->loadFromEXE(appName)) { // Not all have cursors anyway, so this is not a problem delete _exe; - _exe = 0; + _exe = nullptr; } } @@ -183,10 +183,10 @@ MacCursorManager::MacCursorManager(const Common::String &appName) { if (!_resFork->open(appName)) { // Not all have cursors anyway, so this is not a problem delete _resFork; - _resFork = 0; + _resFork = nullptr; } } else { - _resFork = 0; + _resFork = nullptr; } } @@ -219,7 +219,7 @@ LivingBooksCursorManager_v2::LivingBooksCursorManager_v2() { if (!_sysArchive->openFile("system.mhk")) { delete _sysArchive; - _sysArchive = 0; + _sysArchive = nullptr; } } |