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

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Fri Jan 28 10:50:06 CET 2011


Revision: 55587
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55587&view=rev
Author:   fingolfin
Date:     2011-01-28 09:50:05 +0000 (Fri, 28 Jan 2011)

Log Message:
-----------
GRAPHICS: Make JPEG::getComponent error out if component was not found

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

Modified: scummvm/trunk/graphics/jpeg.cpp
===================================================================
--- scummvm/trunk/graphics/jpeg.cpp	2011-01-28 09:46:39 UTC (rev 55586)
+++ scummvm/trunk/graphics/jpeg.cpp	2011-01-28 09:50:05 UTC (rev 55587)
@@ -717,6 +717,7 @@
 		if (_components[i].id == c) // We found the desired component
 			return &_components[i].surface;
 
+	error("JPEG::getComponent: No component %d present", c);
 	return NULL;
 }
 


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