[Scummvm-cvs-logs] SF.net SVN: scummvm:[46877] scummvm/trunk/engines/mohawk/video/video.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Sat Jan 2 09:53:06 CET 2010
Revision: 46877
http://scummvm.svn.sourceforge.net/scummvm/?rev=46877&view=rev
Author: eriktorbjorn
Date: 2010-01-02 08:53:06 +0000 (Sat, 02 Jan 2010)
Log Message:
-----------
Indentation fix. (Which still leaves a lot that probably ought to be fixed in
this directory...)
Modified Paths:
--------------
scummvm/trunk/engines/mohawk/video/video.cpp
Modified: scummvm/trunk/engines/mohawk/video/video.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/video/video.cpp 2010-01-02 08:30:19 UTC (rev 46876)
+++ scummvm/trunk/engines/mohawk/video/video.cpp 2010-01-02 08:53:06 UTC (rev 46877)
@@ -318,24 +318,24 @@
Common::Event event;
while (_vm->_system->getEventManager()->pollEvent(event)) {
switch (event.type) {
- case Common::EVENT_RTL:
- case Common::EVENT_QUIT:
+ case Common::EVENT_RTL:
+ case Common::EVENT_QUIT:
+ continuePlaying = false;
+ break;
+ case Common::EVENT_KEYDOWN:
+ switch (event.kbd.keycode) {
+ case Common::KEYCODE_SPACE:
+ _vm->pauseGame();
+ break;
+ case Common::KEYCODE_ESCAPE:
continuePlaying = false;
break;
- case Common::EVENT_KEYDOWN:
- switch (event.kbd.keycode) {
- case Common::KEYCODE_SPACE:
- _vm->pauseGame();
- break;
- case Common::KEYCODE_ESCAPE:
- continuePlaying = false;
- break;
- default:
- break;
- }
default:
break;
}
+ default:
+ break;
+ }
}
// Cut down on CPU usage
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