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-03-07 08:53:43 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-07 08:53:43 +0400
commit46045fbb09684ebc74835168ff4c5924261e3fc0 (patch)
treed233bc2baea422008e5f330ff457291907a387bc /source/creator
parent71e5edeb6a769e2fd861f5fe374e75391415402a (diff)
style cleanup - braces & else / if's
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/creator.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index bf1c27cc9c4..764e6dbec63 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -684,8 +684,7 @@ static int set_ge_parameters(int argc, const char **argv, void *data)
GPU_set_mipmap(0); //doMipMap = 0;
}
/* linearMipMap */
- if (!strcmp(argv[a],"linearmipmap"))
- {
+ if (!strcmp(argv[a],"linearmipmap")) {
GPU_set_linear_mipmap(1); //linearMipMap = 1;
}
@@ -1258,13 +1257,13 @@ int main(int argc, const char **argv)
WM_exit(C);
}
else {
- if((G.fileflags & G_FILE_AUTOPLAY) && (G.f & G_SCRIPT_AUTOEXEC))
- {
+ if((G.fileflags & G_FILE_AUTOPLAY) && (G.f & G_SCRIPT_AUTOEXEC)) {
if(WM_init_game(C))
return 0;
}
- else if(!G.file_loaded)
+ else if(!G.file_loaded) {
WM_init_splash(C);
+ }
}
WM_main(C);