[Scummvm-cvs-logs] SF.net SVN: scummvm: [29253] scummvm/trunk/engines/lure/surface.cpp
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Wed Oct 24 12:07:38 CEST 2007
Revision: 29253
http://scummvm.svn.sourceforge.net/scummvm/?rev=29253&view=rev
Author: dreammaster
Date: 2007-10-24 03:07:38 -0700 (Wed, 24 Oct 2007)
Log Message:
-----------
Fixed MinGW compilation warning
Modified Paths:
--------------
scummvm/trunk/engines/lure/surface.cpp
Modified: scummvm/trunk/engines/lure/surface.cpp
===================================================================
--- scummvm/trunk/engines/lure/surface.cpp 2007-10-24 10:04:24 UTC (rev 29252)
+++ scummvm/trunk/engines/lure/surface.cpp 2007-10-24 10:07:38 UTC (rev 29253)
@@ -142,7 +142,7 @@
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
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list