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>2013-05-27 12:04:07 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-05-27 12:04:07 +0400
commit2247465b997f80eb7b4e57b9cb1a973d8fbfa4a8 (patch)
treee32b5865a12016fb5596112857e6e3fed8b74e19 /source/blender/nodes/texture/node_texture_util.c
parentd612fc04267ca035930eddbfa431f567599baa2c (diff)
style cleanup: nodes
Diffstat (limited to 'source/blender/nodes/texture/node_texture_util.c')
-rw-r--r--source/blender/nodes/texture/node_texture_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/texture/node_texture_util.c b/source/blender/nodes/texture/node_texture_util.c
index 80644157b02..a8117b7b333 100644
--- a/source/blender/nodes/texture/node_texture_util.c
+++ b/source/blender/nodes/texture/node_texture_util.c
@@ -52,7 +52,7 @@
int tex_node_poll_default(bNodeType *UNUSED(ntype), bNodeTree *ntree)
{
- return (strcmp(ntree->idname, "TextureNodeTree")==0);
+ return STREQ(ntree->idname, "TextureNodeTree");
}
void tex_node_type_base(struct bNodeType *ntype, int type, const char *name, short nclass, short flag)