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:
authorCampbell Barton <ideasman42@gmail.com>2014-02-05 15:36:15 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-02-05 15:36:15 +0400
commit37026b12ec1047dd5f4637ad281f108a7963af83 (patch)
treeb45d0b945f84dff6181fe26a464ddbfe0d127f6a /source/blender/editors/space_node/node_relationships.c
parent36fc4e15f69f4150812408b32a9052017590eb8b (diff)
Code cleanup: use bool for static methods
Diffstat (limited to 'source/blender/editors/space_node/node_relationships.c')
-rw-r--r--source/blender/editors/space_node/node_relationships.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/node_relationships.c b/source/blender/editors/space_node/node_relationships.c
index 4f9af022639..31a9ec70660 100644
--- a/source/blender/editors/space_node/node_relationships.c
+++ b/source/blender/editors/space_node/node_relationships.c
@@ -78,7 +78,7 @@ static int sort_nodes_locx(void *a, void *b)
return 0;
}
-static int socket_is_available(bNodeTree *UNUSED(ntree), bNodeSocket *sock, const bool allow_used)
+static bool socket_is_available(bNodeTree *UNUSED(ntree), bNodeSocket *sock, const bool allow_used)
{
if (nodeSocketIsHidden(sock))
return 0;