diff options
Diffstat (limited to 'engines/hopkins/graphics.cpp')
-rw-r--r-- | engines/hopkins/graphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hopkins/graphics.cpp b/engines/hopkins/graphics.cpp index 7a965146e7..59adc0e9fc 100644 --- a/engines/hopkins/graphics.cpp +++ b/engines/hopkins/graphics.cpp @@ -1238,7 +1238,7 @@ void GraphicsManager::restoreSurfaceRect(byte *destSurface, const byte *src, int /** * Compute the value of a parameter plus a given percentage */ -int GraphicsManager::zoomIn(int val, int percentage ) { +int GraphicsManager::zoomIn(int val, int percentage) { if (val) val += percentage * (long int)val / 100; @@ -1852,7 +1852,7 @@ void GraphicsManager::backupScreen() { * Restore a previously backed up screen */ void GraphicsManager::restoreScreen() { - assert(_vm->_graphicsManager->_backupScreen != NULL); + assert(_vm->_graphicsManager->_backupScreen); // Restore the screen and free the buffer Common::copy(_vm->_graphicsManager->_backupScreen, _vm->_graphicsManager->_backupScreen + |