aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/symbian/src
diff options
context:
space:
mode:
authorMax Horn2007-09-18 20:16:33 +0000
committerMax Horn2007-09-18 20:16:33 +0000
commit3abc11611e1d1d93f1cf794df28879de3571bd01 (patch)
treee1ac8a925d1388f8df010a114d7bed471fc9fe3b /backends/platform/symbian/src
parentc3d3aebe87d16d4fc3b7ac8581b99fb97241c9ac (diff)
downloadscummvm-rg350-3abc11611e1d1d93f1cf794df28879de3571bd01.tar.gz
scummvm-rg350-3abc11611e1d1d93f1cf794df28879de3571bd01.tar.bz2
scummvm-rg350-3abc11611e1d1d93f1cf794df28879de3571bd01.zip
Code formatting fixes
svn-id: r28945
Diffstat (limited to 'backends/platform/symbian/src')
-rw-r--r--backends/platform/symbian/src/ScummVMApp.cpp12
-rw-r--r--backends/platform/symbian/src/SymbianOS.cpp4
2 files changed, 8 insertions, 8 deletions
diff --git a/backends/platform/symbian/src/ScummVMApp.cpp b/backends/platform/symbian/src/ScummVMApp.cpp
index daa0e75744..741f93cfd1 100644
--- a/backends/platform/symbian/src/ScummVMApp.cpp
+++ b/backends/platform/symbian/src/ScummVMApp.cpp
@@ -55,7 +55,7 @@ CEikAppUi *CScummVMDoc::CreateAppUiL() {
}
void CScummVMUi::HandleForegroundEventL(TBool aForeground) {
- if(aForeground) {
+ if (aForeground) {
BringUpEmulatorL();
}
}
@@ -64,7 +64,7 @@ CScummVMUi::CScummVMUi() {
}
CScummVMUi::~CScummVMUi() {
- if(iWatcher) {
+ if (iWatcher) {
iThreadWatch.LogonCancel(iWatcher->iStatus);
iWatcher->Cancel();
}
@@ -109,10 +109,10 @@ void CScummVMUi::ConstructL() {
iExeWgId=exeTask.WgId();
exeTask.BringToForeground();
- if(iExeWgId == myTask.WgId()) { // Should n't be the same
+ if (iExeWgId == myTask.WgId()) { // Should n't be the same
Exit();
}
- if(iThreadWatch.Open(iThreadId) == KErrNone) {
+ if (iThreadWatch.Open(iThreadId) == KErrNone) {
iWatcher = new (ELeave)CScummWatcher;
iWatcher->iAppUi = this;
iThreadWatch.Logon(iWatcher->iStatus);
@@ -139,7 +139,7 @@ void CScummWatcher::RunL() {
void CScummVMUi::BringUpEmulatorL() {
RThread thread;
- if(thread.Open(iThreadId) == KErrNone) {
+ if (thread.Open(iThreadId) == KErrNone) {
thread.Close();
TApaTask apaTask(iEikonEnv->WsSession());
apaTask.SetWgId(iExeWgId);
@@ -155,7 +155,7 @@ void CScummVMUi::HandleCommandL(TInt aCommand) {
case EEikCmdExit:
{
RThread thread;
- if(thread.Open(iThreadId) == KErrNone) {
+ if (thread.Open(iThreadId) == KErrNone) {
thread.Terminate(0);
thread.Close();
}
diff --git a/backends/platform/symbian/src/SymbianOS.cpp b/backends/platform/symbian/src/SymbianOS.cpp
index c992c97316..d8cd5b5091 100644
--- a/backends/platform/symbian/src/SymbianOS.cpp
+++ b/backends/platform/symbian/src/SymbianOS.cpp
@@ -351,7 +351,7 @@ bool OSystem_SDL_Symbian::remapKey(SDL_Event &ev, Common::Event &event) {
case GUI::ACTION_MULTI: {
GUI::Key &key = GUI::Actions::Instance()->getKeyAction(loop);
// if key code is pause, then change event to interactive or just fall through
- if(key.keycode() == SDLK_PAUSE) {
+ if (key.keycode() == SDLK_PAUSE) {
event.type = Common::EVENT_PREDICTIVE_DIALOG;
return true;
}
@@ -371,7 +371,7 @@ bool OSystem_SDL_Symbian::remapKey(SDL_Event &ev, Common::Event &event) {
// Translate from SDL keymod event to Scummvm Key Mod Common::Event.
// This codes is also present in GP32 backend and in SDL backend as a static function
// Perhaps it should be shared.
- if(key.flags() != 0) {
+ if (key.flags() != 0) {
event.kbd.flags = 0;
if (ev.key.keysym.mod & KMOD_SHIFT)