[Scummvm-cvs-logs] SF.net SVN: scummvm:[38958] scummvm/trunk/engines/sword1/screen.cpp
drmccoy at users.sourceforge.net
drmccoy at users.sourceforge.net
Sat Feb 28 11:58:46 CET 2009
Revision: 38958
http://scummvm.svn.sourceforge.net/scummvm/?rev=38958&view=rev
Author: drmccoy
Date: 2009-02-28 10:58:46 +0000 (Sat, 28 Feb 2009)
Log Message:
-----------
Shutting up a compiler warning
Modified Paths:
--------------
scummvm/trunk/engines/sword1/screen.cpp
Modified: scummvm/trunk/engines/sword1/screen.cpp
===================================================================
--- scummvm/trunk/engines/sword1/screen.cpp 2009-02-28 10:53:45 UTC (rev 38957)
+++ scummvm/trunk/engines/sword1/screen.cpp 2009-02-28 10:58:46 UTC (rev 38958)
@@ -664,7 +664,7 @@
uint8 *dest = _screenBuf + scrnScrlX + (cnty + scrnScrlY) * _scrnSizeX/* * 2*/;
uint8 pix;
for (uint16 idx = 0; (idx < SCREEN_WIDTH) && (idx < paraSizeX); idx++) // make sure we don't write outside screen
- if (pix = *(src + idx)) //If data is 0x00, don't write (transparency)
+ if ((pix = *(src + idx))) //If data is 0x00, don't write (transparency)
*(dest + idx) = pix;
}
else
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