diff options
author | Strangerke | 2013-04-05 01:43:10 +0200 |
---|---|---|
committer | Strangerke | 2013-04-05 07:54:56 +0200 |
commit | 2ee8b1e342eca39602b2e5fc8cbdb9f505d49bcb (patch) | |
tree | 363ddc84c1ea62b76afc532a0759902fd62dadb2 /engines/hopkins/graphics.cpp | |
parent | 0b16ea3f3b21012d4a5c9dcf857827e35038fe16 (diff) | |
download | scummvm-rg350-2ee8b1e342eca39602b2e5fc8cbdb9f505d49bcb.tar.gz scummvm-rg350-2ee8b1e342eca39602b2e5fc8cbdb9f505d49bcb.tar.bz2 scummvm-rg350-2ee8b1e342eca39602b2e5fc8cbdb9f505d49bcb.zip |
HOPKINS: Misc cleanup
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 + |