diff options
author | Strangerke | 2015-12-16 16:11:06 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-12-23 21:34:06 +0100 |
commit | 83126e84eefc2493732bb2a158c6c41cae15ece4 (patch) | |
tree | 7e14d78d2fa90a3b055f8d74d3352ee9a47d17e2 /engines/lab/special.cpp | |
parent | 9c7e372a2156fd9695d04175dfdeb3fdafbf8402 (diff) | |
download | scummvm-rg350-83126e84eefc2493732bb2a158c6c41cae15ece4.tar.gz scummvm-rg350-83126e84eefc2493732bb2a158c6c41cae15ece4.tar.bz2 scummvm-rg350-83126e84eefc2493732bb2a158c6c41cae15ece4.zip |
LAB: Make the use of nullptr consistent through the engine
Diffstat (limited to 'engines/lab/special.cpp')
-rw-r--r-- | engines/lab/special.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/lab/special.cpp b/engines/lab/special.cpp index 02bbdf4c07..1008314d4c 100644 --- a/engines/lab/special.cpp +++ b/engines/lab/special.cpp @@ -312,7 +312,7 @@ void LabEngine::doJournal() { drawJournal(0, true); _event->mouseShow(); processJournal(); - _event->attachButtonList(NULL); + _event->attachButtonList(nullptr); _graphics->fade(false, 0); _event->mouseHide(); @@ -400,7 +400,7 @@ void LabEngine::processMonitor(char *ntext, TextFont *monitorFont, bool isIntera while (1) { if (isInteractive) { - if (_closeDataPtr == NULL) + if (!_closeDataPtr) _closeDataPtr = startClosePtr; const char *test; @@ -410,7 +410,7 @@ void LabEngine::processMonitor(char *ntext, TextFont *monitorFont, bool isIntera test = _closeDataPtr->_graphicName; if (strcmp(test, _monitorTextFilename)) { - _monitorPage = 0; + _monitorPage = 0; _monitorTextFilename = test; ntext = _resource->getText(_monitorTextFilename); |