[Scummvm-cvs-logs] SF.net SVN: scummvm:[53701] scummvm/trunk/engines/parallaction/gui_ns.cpp

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Fri Oct 22 16:19:38 CEST 2010


Revision: 53701
          http://scummvm.svn.sourceforge.net/scummvm/?rev=53701&view=rev
Author:   peres001
Date:     2010-10-22 14:19:37 +0000 (Fri, 22 Oct 2010)

Log Message:
-----------
Initialize variable in NS gui code (was crashing a demo). Patch #3089932 by fuzzie.

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/gui_ns.cpp

Modified: scummvm/trunk/engines/parallaction/gui_ns.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/gui_ns.cpp	2010-10-22 13:10:41 UTC (rev 53700)
+++ scummvm/trunk/engines/parallaction/gui_ns.cpp	2010-10-22 14:19:37 UTC (rev 53701)
@@ -118,6 +118,7 @@
 	ChooseLanguageInputState_NS(Parallaction *vm, MenuInputHelper *helper) : MenuInputState("chooselanguage", helper), _vm(vm) {
 		_allowChoice = false;
 		_nextState = "selectgame";
+		_label = 0;
 
 		_dosLanguageSelectBlocks[0] = Common::Rect(  80, 110, 128, 180 );	// Italian
 		_dosLanguageSelectBlocks[1] = Common::Rect( 129,  85, 177, 155 );	// French
@@ -147,7 +148,6 @@
 			_blocks = _dosLanguageSelectBlocks;
 		}
 
-		_label = 0;
 		_language = -1;
 		_allowChoice = true;
 	}


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