From 4a302b25adb34e6357506a25cbfba6e182ac9209 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 10 Sep 2007 13:17:20 +0000 Subject: Lots of source code formatting corrections svn-id: r28887 --- engines/saga/font.cpp | 6 ++---- engines/saga/interface.cpp | 3 +-- engines/saga/saga.cpp | 3 +-- engines/saga/sndres.cpp | 3 +-- 4 files changed, 5 insertions(+), 10 deletions(-) (limited to 'engines/saga') diff --git a/engines/saga/font.cpp b/engines/saga/font.cpp index 71cd6b0eef..1e818b047a 100644 --- a/engines/saga/font.cpp +++ b/engines/saga/font.cpp @@ -632,8 +632,7 @@ Font::FontId Font::knownFont2FontIdx(KnownFont font) { // The demo version of IHNM has 3 font types (like ITE), not 6 (like the full version of IHNM) if (_vm->getGameType() == GType_ITE || _vm->getGameId() == GID_IHNM_DEMO) { - switch (font) - { + switch (font) { case (kKnownFontSmall): fontId = kSmallFont; break; @@ -655,8 +654,7 @@ Font::FontId Font::knownFont2FontIdx(KnownFont font) { break; } } else if (_vm->getGameType() == GType_IHNM && _vm->getGameId() != GID_IHNM_DEMO) { - switch (font) - { + switch (font) { case (kKnownFontSmall): fontId = kSmallFont; break; diff --git a/engines/saga/interface.cpp b/engines/saga/interface.cpp index c73741347d..362366ba55 100644 --- a/engines/saga/interface.cpp +++ b/engines/saga/interface.cpp @@ -608,8 +608,7 @@ bool Interface::processAscii(uint16 ascii) { return true; } } - if (ascii == 15) // ctrl-o - { + if (ascii == 15) { // ctrl-o if (_saveReminderState > 0) { setMode(kPanelOption); return true; diff --git a/engines/saga/saga.cpp b/engines/saga/saga.cpp index 2c064258d2..c6682e12f3 100644 --- a/engines/saga/saga.cpp +++ b/engines/saga/saga.cpp @@ -452,8 +452,7 @@ ColorId SagaEngine::KnownColor2ColorId(KnownColor knownColor) { error("SagaEngine::KnownColor2ColorId unknown color %i", knownColor); } } else if (getGameType() == GType_IHNM) { - switch (knownColor) - { + switch (knownColor) { case(kKnownColorTransparent): colorId = kITEColorTransBlack; break; diff --git a/engines/saga/sndres.cpp b/engines/saga/sndres.cpp index 20ec015de4..ac21656dfa 100644 --- a/engines/saga/sndres.cpp +++ b/engines/saga/sndres.cpp @@ -101,8 +101,7 @@ SndRes::~SndRes() { } } -void SndRes::setVoiceBank(int serial) -{ +void SndRes::setVoiceBank(int serial) { if (_voiceSerial == serial) return; _voiceSerial = serial; -- cgit v1.2.3