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-24 11:52:14 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-24 11:52:14 +0400
commitb8a71efeba70d6c3ebc579f5043daa4162da86e8 (patch)
treed2d89da2a59f8955583f4968a35e48c578fd4d4c /source/creator
parent81d8f17843f92c6d6abbacb652ca22917910f4bc (diff)
style cleanup: follow style guide for/with/if spacing
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/creator.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index 698e1e7be20..b69430cebd5 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -411,7 +411,7 @@ static int set_env(int argc, const char **argv, void *UNUSED(data))
exit(1);
}
- for(; *ch_src; ch_src++, ch_dst++) {
+ for (; *ch_src; ch_src++, ch_dst++) {
*ch_dst= (*ch_src == '-') ? '_' : (*ch_src)-32; /* toupper() */
}
@@ -552,7 +552,7 @@ static int set_engine(int argc, const char **argv, void *data)
if (!strcmp(argv[1], "help")) {
RenderEngineType *type = NULL;
printf("Blender Engine Listing:\n");
- for( type = R_engines.first; type; type = type->next ) {
+ for ( type = R_engines.first; type; type = type->next ) {
printf("\t%s\n", type->idname);
}
exit(0);
@@ -1150,7 +1150,7 @@ int main(int argc, const char **argv)
wchar_t ** argv_16 = CommandLineToArgvW(GetCommandLineW(), &argc);
int argci = 0;
char ** argv = MEM_mallocN(argc * sizeof(char*),"argv array");
- for(argci=0; argci<argc; argci++)
+ for (argci=0; argci<argc; argci++)
{
argv[argci] = alloc_utf_8_from_16(argv_16[argci],0);
}
@@ -1290,7 +1290,7 @@ int main(int argc, const char **argv)
BLI_argsFree(ba);
#ifdef WIN32
- while(argci)
+ while (argci)
{
free(argv[--argci]);
}