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

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Sun Jun 1 03:32:29 CEST 2008


Revision: 32453
          http://scummvm.svn.sourceforge.net/scummvm/?rev=32453&view=rev
Author:   drmccoy
Date:     2008-05-31 18:32:28 -0700 (Sat, 31 May 2008)

Log Message:
-----------
Ooops, intialize variables properly.

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

Modified: scummvm/trunk/engines/gob/variables.cpp
===================================================================
--- scummvm/trunk/engines/gob/variables.cpp	2008-06-01 01:04:11 UTC (rev 32452)
+++ scummvm/trunk/engines/gob/variables.cpp	2008-06-01 01:32:28 UTC (rev 32453)
@@ -35,6 +35,8 @@
 
 	_vars = new byte[_size];
 	_sizes = new byte[_size];
+
+	clear();
 }
 
 Variables::~Variables() {


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