Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-09-06 06:20:03 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-09-06 06:20:03 +0400
commit04b5ef20f138412701c807b1c3f151c2a69cad82 (patch)
tree8686472abc2989fd37be9e03667912799700cc3f /source/gameengine/GamePlayer/ghost
parent47ec91e8d343c77e494a334ca8054c6d3538d893 (diff)
style cleanup: indentation
Diffstat (limited to 'source/gameengine/GamePlayer/ghost')
-rw-r--r--source/gameengine/GamePlayer/ghost/GPG_ghost.cpp19
1 files changed, 9 insertions, 10 deletions
diff --git a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
index 6e1e8f5a8ec..d8b07fd50d9 100644
--- a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
+++ b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
@@ -334,17 +334,16 @@ static BlendFileData *load_game_data(const char *progname, char *filename = NULL
bool GPG_NextFrame(GHOST_ISystem* system, GPG_Application *app, int &exitcode, STR_String &exitstring, GlobalSettings *gs)
{
- bool run = true;
- system->processEvents(false);
- system->dispatchEvents();
+ bool run = true;
+ system->processEvents(false);
+ system->dispatchEvents();
app->EngineNextFrame();
- if ((exitcode = app->getExitRequested()))
- {
- run = false;
- exitstring = app->getExitString();
- *gs = *app->getGlobalSettings();
- }
- return run;
+ if ((exitcode = app->getExitRequested())) {
+ run = false;
+ exitstring = app->getExitString();
+ *gs = *app->getGlobalSettings();
+ }
+ return run;
}
struct GPG_NextFrameState {