[Scummvm-cvs-logs] SF.net SVN: scummvm: [24840] scummvm/trunk/graphics/dxa_player.cpp

kirben at users.sourceforge.net kirben at users.sourceforge.net
Mon Dec 11 09:31:33 CET 2006


Revision: 24840
          http://scummvm.svn.sourceforge.net/scummvm/?rev=24840&view=rev
Author:   kirben
Date:     2006-12-11 00:31:32 -0800 (Mon, 11 Dec 2006)

Log Message:
-----------
Fix typo in initial _scaleBuffer check

Modified Paths:
--------------
    scummvm/trunk/graphics/dxa_player.cpp

Modified: scummvm/trunk/graphics/dxa_player.cpp
===================================================================
--- scummvm/trunk/graphics/dxa_player.cpp	2006-12-11 07:07:18 UTC (rev 24839)
+++ scummvm/trunk/graphics/dxa_player.cpp	2006-12-11 08:31:32 UTC (rev 24840)
@@ -127,7 +127,7 @@
 
 	if (_scaleMode != S_NONE) {
 		_scaledBuffer = (uint8 *)malloc(_frameSize);
-		if (_scaledBuffer)
+		if (!_scaledBuffer)
 			error("Error allocating scale buffer (size %d)", _frameSize);
 	}
 


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