aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/graphics.cpp
diff options
context:
space:
mode:
authorStrangerke2013-04-03 08:23:31 +0200
committerStrangerke2013-04-03 08:23:31 +0200
commit177df0802a66e34032260755370ac76026576e06 (patch)
tree6794d44ee10c8eec79864b50eefc9f6c24b01fe6 /engines/hopkins/graphics.cpp
parentb22a9b119ee3ee533c43b2da6c9600e3708ff69f (diff)
downloadscummvm-rg350-177df0802a66e34032260755370ac76026576e06.tar.gz
scummvm-rg350-177df0802a66e34032260755370ac76026576e06.tar.bz2
scummvm-rg350-177df0802a66e34032260755370ac76026576e06.zip
HOPKINS: Standardize the use of g_PTRNUL
Diffstat (limited to 'engines/hopkins/graphics.cpp')
-rw-r--r--engines/hopkins/graphics.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/hopkins/graphics.cpp b/engines/hopkins/graphics.cpp
index 7eeb5e5b3e..9d1093edf9 100644
--- a/engines/hopkins/graphics.cpp
+++ b/engines/hopkins/graphics.cpp
@@ -42,15 +42,15 @@ GraphicsManager::GraphicsManager(HopkinsEngine *vm) {
_initGraphicsFl = false;
_screenWidth = _screenHeight = 0;
_screenLineSize = 0;
- PAL_PIXELS = NULL;
+ PAL_PIXELS = g_PTRNUL;
_lineNbr = 0;
_videoPtr = NULL;
_scrollOffset = 0;
_scrollPosX = 0;
_largeScreenFl = false;
_oldScrollPosX = 0;
- _backBuffer = NULL;
- _frontBuffer = NULL;
+ _backBuffer = g_PTRNUL;
+ _frontBuffer = g_PTRNUL;
_screenBuffer = g_PTRNUL;
_backupScreen = g_PTRNUL;
_showDirtyRects = false;