[Scummvm-cvs-logs] SF.net SVN: scummvm:[39887] residual/trunk/engine

aquadran at users.sourceforge.net aquadran at users.sourceforge.net
Tue Apr 7 14:58:30 CEST 2009


Revision: 39887
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39887&view=rev
Author:   aquadran
Date:     2009-04-07 12:58:30 +0000 (Tue, 07 Apr 2009)

Log Message:
-----------
this should be like this

Modified Paths:
--------------
    residual/trunk/engine/registry.cpp
    residual/trunk/engine/textobject.cpp

Modified: residual/trunk/engine/registry.cpp
===================================================================
--- residual/trunk/engine/registry.cpp	2009-04-07 12:19:39 UTC (rev 39886)
+++ residual/trunk/engine/registry.cpp	2009-04-07 12:58:30 UTC (rev 39887)
@@ -125,8 +125,8 @@
 void Registry::set(const char *key, const char *val) {
 	// Hack: Don't save these, so we can run in good_times mode
 	// without new games being bogus.
-//	if (strstr(key, "GrimLastSet") || strstr(key, "GrimMannyState"))
-//		return;
+	if (strstr(key, "GrimLastSet") || strstr(key, "GrimMannyState"))
+		return;
 
 	_dirty = true;
 	assert(val);

Modified: residual/trunk/engine/textobject.cpp
===================================================================
--- residual/trunk/engine/textobject.cpp	2009-04-07 12:19:39 UTC (rev 39886)
+++ residual/trunk/engine/textobject.cpp	2009-04-07 12:58:30 UTC (rev 39887)
@@ -156,7 +156,7 @@
 		}
 
 		_textBitmap = new uint8[_font->getHeight() * (_bitmapWidthPtr[j] + 1)];
-		memset(_textBitmap, 0xff, _font->getHeight() * (_bitmapWidthPtr[j] + 1));
+		memset(_textBitmap, 0, _font->getHeight() * (_bitmapWidthPtr[j] + 1));
 
 		// Fill bitmap
 		int startOffset = 0;


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