diff options
author | Strangerke | 2013-04-04 07:54:45 +0200 |
---|---|---|
committer | Strangerke | 2013-04-05 07:54:54 +0200 |
commit | e79a51c20894a74ac6ed8914daccfeedbfb28849 (patch) | |
tree | f0a0e45d524453fced8d2bf48ac64d3545a08c5e /engines/hopkins/files.cpp | |
parent | f9247f0bce0a6a6f658ddd6fe7b034f3855ffa77 (diff) | |
download | scummvm-rg350-e79a51c20894a74ac6ed8914daccfeedbfb28849.tar.gz scummvm-rg350-e79a51c20894a74ac6ed8914daccfeedbfb28849.tar.bz2 scummvm-rg350-e79a51c20894a74ac6ed8914daccfeedbfb28849.zip |
HOPKINS: Remove g_PTRNUL
Diffstat (limited to 'engines/hopkins/files.cpp')
-rw-r--r-- | engines/hopkins/files.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hopkins/files.cpp b/engines/hopkins/files.cpp index 3f7c4e48dd..2390ebbdf8 100644 --- a/engines/hopkins/files.cpp +++ b/engines/hopkins/files.cpp @@ -239,7 +239,7 @@ byte *FileManager::searchCat(const Common::String &file, CatMode mode, bool &fil f.seek(_catalogPos); byte *catData = _vm->_globals->allocMemory(_catalogSize); - if (catData == g_PTRNUL) + if (catData == NULL) error("CHARGE_FICHIER"); readStream(f, catData, _catalogSize); |