From 8ba75fc522f16844524dd4d6f88c3851e2402969 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 30 Sep 2009 16:16:53 +0000 Subject: Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things) svn-id: r44495 --- common/EventRecorder.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'common/EventRecorder.cpp') 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: -- cgit v1.2.3