[Scummvm-cvs-logs] SF.net SVN: scummvm: [23838] scummvm/trunk/engines/sword1/control.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Sat Sep 9 11:50:04 CEST 2006


Revision: 23838
          http://svn.sourceforge.net/scummvm/?rev=23838&view=rev
Author:   eriktorbjorn
Date:     2006-09-09 02:50:00 -0700 (Sat, 09 Sep 2006)

Log Message:
-----------
Initialise variable. Should fix Valgrind warning.

Modified Paths:
--------------
    scummvm/trunk/engines/sword1/control.cpp

Modified: scummvm/trunk/engines/sword1/control.cpp
===================================================================
--- scummvm/trunk/engines/sword1/control.cpp	2006-09-09 09:30:16 UTC (rev 23837)
+++ scummvm/trunk/engines/sword1/control.cpp	2006-09-09 09:50:00 UTC (rev 23838)
@@ -173,6 +173,7 @@
 	_lStrings = _languageStrings + SwordEngine::_systemVars.language * 20;
 	_keyRepeat = 0;
 	_keyRepeatTime = 0;
+	_selectedButton = 255;
 }
 
 void Control::askForCd(void) {


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