cleanup: minor edits
authorCampbell Barton <ideasman42@gmail.com>
Wed, 14 Jan 2015 12:53:03 +0000 (23:53 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 14 Jan 2015 12:53:39 +0000 (23:53 +1100)
source/blender/blenkernel/BKE_data_transfer.h
source/blender/blenkernel/intern/object.c
source/blender/windowmanager/intern/wm_operators.c

index 07ef16e8161da4e56eb04a3c3317e91e8096cc59..d31804b3cae5dd813b999f39d2b8652d1595ea60 100644 (file)
@@ -29,8 +29,8 @@
  *  \ingroup bke
  */
 
-#ifndef __BKE_OBJECT_DATA_TRANSFER_H__
-#define __BKE_OBJECT_DATA_TRANSFER_H__
+#ifndef __BKE_DATA_TRANSFER_H__
+#define __BKE_DATA_TRANSFER_H__
 
 #ifdef __cplusplus
 extern "C" {
@@ -155,4 +155,4 @@ bool BKE_object_data_transfer_dm(
 }
 #endif
 
-#endif  /* __BKE_OBJECT_DATA_TRANSFER_H__ */
+#endif  /* __BKE_DATA_TRANSFER_H__ */
index 8f74df72b041e178f3695b6a54f32de9978a2adb..ccbce205b016339c7da84ae10f9b6f6f6a5c8849 100644 (file)
@@ -3521,7 +3521,7 @@ int BKE_object_is_modified(Scene *scene, Object *ob)
  * objects moves (causing deformation motion blur) or not.
  *
  * This makes it possible to give some degree of false-positives here,
- * but it's currently an acceptable tradeof between complexity and check
+ * but it's currently an acceptable tradeoff between complexity and check
  * speed. In combination with checks of modifier stack and real life usage
  * percentage of false-positives shouldn't be that hight.
  */
index 02a029fc3f3fb6b051d316be8265a44bc6bc8e04..d49a298c4242f5f03f9a9acf560388112c9d83ac 100644 (file)
@@ -4766,7 +4766,7 @@ static int previews_ensure_exec(bContext *C, wmOperator *UNUSED(op))
                        /* This will loop over all IDs linked by current one, render icons for them if needed,
                         * and add them to 'todo' preview_id_stack. */
                        BKE_library_foreach_ID_link(id, previews_id_ensure_callback, &preview_id_stack, IDWALK_READONLY);
-               } while((id = BLI_LINKSTACK_POP(preview_id_stack.id_stack)));
+               } while ((id = BLI_LINKSTACK_POP(preview_id_stack.id_stack)));
        }
 
        BLI_LINKSTACK_FREE(preview_id_stack.id_stack);