From 83126e84eefc2493732bb2a158c6c41cae15ece4 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Wed, 16 Dec 2015 16:11:06 +0100 Subject: LAB: Make the use of nullptr consistent through the engine --- engines/lab/special.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/lab/special.cpp') 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); -- cgit v1.2.3