diff options
author | Paul Gilbert | 2007-10-24 10:07:38 +0000 |
---|---|---|
committer | Paul Gilbert | 2007-10-24 10:07:38 +0000 |
commit | a0fce0c5a174c76891e4128fef43bdb794c16fb3 (patch) | |
tree | 63365aa9bae7c8e8dad952d9df7d24513b8e86a4 /engines | |
parent | 9a1b13e9653dcafaaa9cc33cb4d4e4639364de25 (diff) | |
download | scummvm-rg350-a0fce0c5a174c76891e4128fef43bdb794c16fb3.tar.gz scummvm-rg350-a0fce0c5a174c76891e4128fef43bdb794c16fb3.tar.bz2 scummvm-rg350-a0fce0c5a174c76891e4128fef43bdb794c16fb3.zip |
Fixed MinGW compilation warning
svn-id: r29253
Diffstat (limited to 'engines')
-rw-r--r-- | engines/lure/surface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lure/surface.cpp b/engines/lure/surface.cpp index c175b3d687..e2a987ab5d 100644 --- a/engines/lure/surface.cpp +++ b/engines/lure/surface.cpp @@ -142,7 +142,7 @@ void Surface::writeSubstring(uint16 x, uint16 y, Common::String line, int len, const char *sPtr = line.c_str(); - for (int index = 0; (index < len) && (*sPtr != NULL); ++index, ++sPtr) { + for (int index = 0; (index < len) && (*sPtr != '\0'); ++index, ++sPtr) { writeChar(x, y, (uint8) *sPtr, transparent, colour); // Move to after the character in preparation for the next character |