diff options
author | Chris Warren-Smith | 2011-08-16 11:58:43 +1000 |
---|---|---|
committer | Chris Warren-Smith | 2011-08-21 16:39:08 +1000 |
commit | a31b74f3e98a083c8d5e20facf06d126b9504c76 (patch) | |
tree | 1f6b06536bc8c69a2994061dd00a8b8400721f37 /backends/platform/bada/application.cpp | |
parent | 1370e65de9a6b73c06ba3203bd64e9ffaba33fac (diff) | |
download | scummvm-rg350-a31b74f3e98a083c8d5e20facf06d126b9504c76.tar.gz scummvm-rg350-a31b74f3e98a083c8d5e20facf06d126b9504c76.tar.bz2 scummvm-rg350-a31b74f3e98a083c8d5e20facf06d126b9504c76.zip |
BADA: Code formatting and style changes following review
Diffstat (limited to 'backends/platform/bada/application.cpp')
-rwxr-xr-x | backends/platform/bada/application.cpp | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/backends/platform/bada/application.cpp b/backends/platform/bada/application.cpp index af4e3fc6ef..bf17e66aa3 100755 --- a/backends/platform/bada/application.cpp +++ b/backends/platform/bada/application.cpp @@ -46,7 +46,7 @@ BadaScummVM::BadaScummVM() : _appForm(0) { BadaScummVM::~BadaScummVM() { logEntered(); if (g_system) { - BadaSystem *system = (BadaSystem*)g_system; + BadaSystem *system = (BadaSystem *)g_system; system->destroyBackend(); delete system; g_system = 0; @@ -55,7 +55,7 @@ BadaScummVM::~BadaScummVM() { bool BadaScummVM::OnAppInitializing(AppRegistry &appRegistry) { _appForm = systemStart(this); - return (_appForm != null); + return (_appForm != NULL); } bool BadaScummVM::OnAppTerminating(AppRegistry &appRegistry, @@ -73,9 +73,9 @@ void BadaScummVM::OnUserEventReceivedN(RequestId requestId, Terminate(); } else if (requestId == USER_MESSAGE_EXIT_ERR) { // assertion failure termination - String *message = null; + String *message = NULL; if (args) { - message = (String*) args->GetAt(0); + message = (String*)args->GetAt(0); } if (!message) { message = new String("Unknown error"); @@ -119,10 +119,6 @@ void BadaScummVM::pauseGame(bool pause) { } if (g_system) { - ((BadaSystem*)g_system)->setMute(pause); + ((BadaSystem *)g_system)->setMute(pause); } } - -// -// end of application.cpp -// |