diff options
author | Max Horn | 2009-09-30 16:16:53 +0000 |
---|---|---|
committer | Max Horn | 2009-09-30 16:16:53 +0000 |
commit | 8ba75fc522f16844524dd4d6f88c3851e2402969 (patch) | |
tree | df25c20389e3e706d508f37914dedc73c6479f00 /common/EventRecorder.cpp | |
parent | 25dde91c7c6c7da52636e3daa34bd9eee5d9dcb9 (diff) | |
download | scummvm-rg350-8ba75fc522f16844524dd4d6f88c3851e2402969.tar.gz scummvm-rg350-8ba75fc522f16844524dd4d6f88c3851e2402969.tar.bz2 scummvm-rg350-8ba75fc522f16844524dd4d6f88c3851e2402969.zip |
Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things)
svn-id: r44495
Diffstat (limited to 'common/EventRecorder.cpp')
-rw-r--r-- | common/EventRecorder.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/EventRecorder.cpp b/common/EventRecorder.cpp index 57ab475f4a..64de26a8c7 100644 --- a/common/EventRecorder.cpp +++ b/common/EventRecorder.cpp @@ -39,7 +39,7 @@ void readRecord(Common::InSaveFile *inFile, uint32 &diff, Common::Event &event) event.type = (Common::EventType)inFile->readUint32LE(); - switch(event.type) { + switch (event.type) { case Common::EVENT_KEYDOWN: case Common::EVENT_KEYUP: event.kbd.keycode = (Common::KeyCode)inFile->readSint32LE(); @@ -66,7 +66,7 @@ void writeRecord(Common::OutSaveFile *outFile, uint32 diff, const Common::Event outFile->writeUint32LE((uint32)event.type); - switch(event.type) { + switch (event.type) { case Common::EVENT_KEYDOWN: case Common::EVENT_KEYUP: outFile->writeSint32LE(event.kbd.keycode); @@ -340,7 +340,7 @@ bool EventRecorder::pollEvent(Common::Event &ev) { if (_hasPlaybackEvent) { if (_playbackDiff <= (_eventCount - _lastEventCount)) { - switch(_playbackEvent.type) { + switch (_playbackEvent.type) { case Common::EVENT_MOUSEMOVE: case Common::EVENT_LBUTTONDOWN: case Common::EVENT_LBUTTONUP: |