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/compositor/nodes/COM_GroupNode.cpp')
-rw-r--r--source/blender/compositor/nodes/COM_GroupNode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/compositor/nodes/COM_GroupNode.cpp b/source/blender/compositor/nodes/COM_GroupNode.cpp
index 3b67d0912d4..09824a7b439 100644
--- a/source/blender/compositor/nodes/COM_GroupNode.cpp
+++ b/source/blender/compositor/nodes/COM_GroupNode.cpp
@@ -44,7 +44,7 @@ static int find_group_input(GroupNode *gnode, const char *identifier, InputSocke
int index;
for (index = 0; index < gnode->getNumberOfInputSockets(); ++index) {
InputSocket *sock = gnode->getInputSocket(index);
- if (strcmp(sock->getbNodeSocket()->identifier, identifier)==0) {
+ if (STREQ(sock->getbNodeSocket()->identifier, identifier)) {
*r_sock = sock;
return index;
}
@@ -58,7 +58,7 @@ static int find_group_output(GroupNode *gnode, const char *identifier, OutputSoc
int index;
for (index = 0; index < gnode->getNumberOfOutputSockets(); ++index) {
OutputSocket *sock = gnode->getOutputSocket(index);
- if (strcmp(sock->getbNodeSocket()->identifier, identifier)==0) {
+ if (STREQ(sock->getbNodeSocket()->identifier, identifier)) {
*r_sock = sock;
return index;
}