[Scummvm-cvs-logs] SF.net SVN: scummvm: [26847] scummvm/trunk/engines/parallaction/dialogue. cpp
peres001 at users.sourceforge.net
peres001 at users.sourceforge.net
Tue May 15 22:07:16 CEST 2007
Revision: 26847
http://scummvm.svn.sourceforge.net/scummvm/?rev=26847&view=rev
Author: peres001
Date: 2007-05-15 13:07:07 -0700 (Tue, 15 May 2007)
Log Message:
-----------
Fixed bug when typing protection code.
Modified Paths:
--------------
scummvm/trunk/engines/parallaction/dialogue.cpp
Modified: scummvm/trunk/engines/parallaction/dialogue.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/dialogue.cpp 2007-05-15 16:25:34 UTC (rev 26846)
+++ scummvm/trunk/engines/parallaction/dialogue.cpp 2007-05-15 20:07:07 UTC (rev 26847)
@@ -212,7 +212,8 @@
// FIXME: see comment for updateInput()
if (!g_system->getEventManager()->pollEvent(e)) continue;
if (e.type != Common::EVENT_KEYDOWN) continue;
- if (e.type != Common::EVENT_QUIT) g_system->quit();
+ if (e.type == Common::EVENT_QUIT)
+ g_system->quit();
if (!isdigit(e.kbd.ascii)) continue;
password[passwordLen] = e.kbd.ascii;
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