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:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2014-04-22 04:39:21 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2014-04-22 04:39:53 +0400
commit1b523b54e680d1b0bc8c7c978f8f5cf2e5b1a64e (patch)
treeda6dbbc045c590b5d25f9efdcb522c0eefc87f53
parent0e2f6c7fc4db06b8fa9be758e294a3376c32bc5d (diff)
Code cleanup: replace int with boolean.
-rw-r--r--source/blender/blenkernel/intern/library.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/library.c b/source/blender/blenkernel/intern/library.c
index 083a9043246..91549f1ea0b 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;