[Bf-blender-cvs] [1b523b5] master: Code cleanup: replace int with boolean.
Tamito Kajiyama
noreply at git.blender.org
Tue Apr 22 02:40:13 CEST 2014
Commit: 1b523b54e680d1b0bc8c7c978f8f5cf2e5b1a64e
Author: Tamito Kajiyama
Date: Tue Apr 22 09:39:21 2014 +0900
https://developer.blender.org/rB1b523b54e680d1b0bc8c7c978f8f5cf2e5b1a64e
Code cleanup: replace int with boolean.
===================================================================
M source/blender/blenkernel/intern/library.c
===================================================================
diff --git a/source/blender/blenkernel/intern/library.c b/source/blender/blenkernel/intern/library.c
index 083a904..91549f1 100644
--- a/source/blender/blenkernel/intern/library.c
+++ b/source/blender/blenkernel/intern/library.c
@@ -283,7 +283,7 @@ bool id_make_local(ID *id, bool test)
case ID_GD:
return false; /* not implemented */
case ID_LS:
- return 0; /* not implemented */
+ return false; /* not implemented */
}
return false;
@@ -384,7 +384,7 @@ bool id_copy(ID *id, ID **newid, bool test)
return true;
case ID_LS:
if (!test) *newid = (ID *)BKE_copy_linestyle((FreestyleLineStyle *)id);
- return 1;
+ return true;
}
return false;
More information about the Bf-blender-cvs
mailing list