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:
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r--source/blender/blenlib/intern/scanfill.c2
-rw-r--r--source/blender/blenlib/intern/storage.c2
-rw-r--r--source/blender/blenlib/intern/threads.c12
3 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/blenlib/intern/scanfill.c b/source/blender/blenlib/intern/scanfill.c
index 90031d961c3..641d0373a64 100644
--- a/source/blender/blenlib/intern/scanfill.c
+++ b/source/blender/blenlib/intern/scanfill.c
@@ -657,7 +657,7 @@ static int scanfill(PolyFill *pf)
ed2= ed1->next;
/* commented out... the ESC here delivers corrupted memory (and doesnt work during grab) */
- /* if(callLocalInterruptCallBack()) break; */
+ /* if (callLocalInterruptCallBack()) break; */
if (totface>maxface) {
/* printf("Fill error: endless loop. Escaped at vert %d, tot: %d.\n", a, verts); */
a= verts;
diff --git a/source/blender/blenlib/intern/storage.c b/source/blender/blenlib/intern/storage.c
index cce1d2136e2..01ebd1dce57 100644
--- a/source/blender/blenlib/intern/storage.c
+++ b/source/blender/blenlib/intern/storage.c
@@ -262,7 +262,7 @@ static void bli_builddir(const char *dirname, const char *relname)
if (files) {
dlink = (struct dirlink *) dirbase->first;
- while(dlink) {
+ while (dlink) {
memset(&files[actnum], 0 , sizeof(struct direntry));
files[actnum].relname = dlink->name;
files[actnum].path = BLI_strdupcat(dirname, dlink->name);
diff --git a/source/blender/blenlib/intern/threads.c b/source/blender/blenlib/intern/threads.c
index 17edc18b7bb..19d9c2a9c65 100644
--- a/source/blender/blenlib/intern/threads.c
+++ b/source/blender/blenlib/intern/threads.c
@@ -79,7 +79,7 @@ static void *thread_tls_data;
* BLI_init_threads(&lb, do_something_func, maxthreads);
*
* while (cont) {
- * if(BLI_available_threads(&lb) && !(escape loop event)) {
+ * if (BLI_available_threads(&lb) && !(escape loop event)) {
* // get new job (data pointer)
* // tag job 'processed
* BLI_insert_thread(&lb, job);
@@ -88,17 +88,17 @@ static void *thread_tls_data;
*
* // find if a job is ready, this the do_something_func() should write in job somewhere
* cont= 0;
- * for(go over all jobs)
- * if(job is ready) {
- * if(job was not removed) {
+ * for (go over all jobs)
+ * if (job is ready) {
+ * if (job was not removed) {
* BLI_remove_thread(&lb, job);
* }
* }
* else cont= 1;
* }
* // conditions to exit loop
- * if(if escape loop event) {
- * if(BLI_available_threadslots(&lb)==maxthreads)
+ * if (if escape loop event) {
+ * if (BLI_available_threadslots(&lb)==maxthreads)
* break;
* }
* }