[Scummvm-cvs-logs] SF.net SVN: scummvm:[35659] scummvm/trunk/engines/gob/video.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Fri Jan 2 01:52:01 CET 2009


Revision: 35659
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35659&view=rev
Author:   lordhoto
Date:     2009-01-02 00:52:01 +0000 (Fri, 02 Jan 2009)

Log Message:
-----------
Oops. (stupid c&p bug)

Modified Paths:
--------------
    scummvm/trunk/engines/gob/video.cpp

Modified: scummvm/trunk/engines/gob/video.cpp
===================================================================
--- scummvm/trunk/engines/gob/video.cpp	2009-01-02 00:50:53 UTC (rev 35658)
+++ scummvm/trunk/engines/gob/video.cpp	2009-01-02 00:52:01 UTC (rev 35659)
@@ -557,7 +557,7 @@
 	uint32 color = 0x2;
 	Graphics::Surface surf;
 
-	surf.create(g_system->getWidth(), font.getFontHeight(), surf.bytesPerPixel);
+	surf.create(g_system->getWidth(), font.getFontHeight(), 1);
 
 	font.drawString(&surf, text, 0, 0, surf.w, color, Graphics::kTextAlignCenter);
 


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