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

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Sun Aug 5 00:14:45 CEST 2007


Revision: 28451
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28451&view=rev
Author:   peres001
Date:     2007-08-04 15:14:45 -0700 (Sat, 04 Aug 2007)

Log Message:
-----------
Fixes bug #1765310. Counter needs to be reset at the beginning of each iteration.

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

Modified: scummvm/trunk/engines/parallaction/dialogue.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/dialogue.cpp	2007-08-04 20:20:44 UTC (rev 28450)
+++ scummvm/trunk/engines/parallaction/dialogue.cpp	2007-08-04 22:14:45 UTC (rev 28451)
@@ -236,11 +236,12 @@
 	debugC(1, kDebugDialogue, "checkDialoguePassword()");
 
 	char password[100];
-	uint16 passwordLen = 0;
+	uint16 passwordLen;
 
 	while (true) {
 		clear();
 
+		passwordLen = 0;
 		strcpy(password, ".......");
 
 		Common::Rect r(_answerBalloonW[0], _answerBalloonH[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