code cleanup: use TRUE/FALSE rather then 1/0 for better readability, also replace do prefix with do_ for bool vars.

This commit is contained in:
2012-05-19 13:28:19 +00:00
parent 2f5173887e
commit af3e348430
116 changed files with 545 additions and 526 deletions

View File

@@ -1530,7 +1530,7 @@ static void oceanbake_update(void *customdata, float progress, int *cancel)
if (oceanbake_breakjob(oj))
*cancel = 1;
*(oj->do_update) = 1;
*(oj->do_update) = TRUE;
*(oj->progress) = progress;
}
@@ -1546,7 +1546,7 @@ static void oceanbake_startjob(void *customdata, short *stop, short *do_update,
BKE_bake_ocean(oj->ocean, oj->och, oceanbake_update, (void *)oj);
*do_update = 1;
*do_update = TRUE;
*stop = 0;
}