diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-08-10 04:46:10 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-08-10 04:47:09 +0300 |
commit | d9930cddfd6214221f930c1dc3f4de649781ac31 (patch) | |
tree | 6647f396ed557cf52efe8c308639681150bd88bc | |
parent | cb7b4064d6c7baba7269df94329422e307aa3880 (diff) |
Fix invalid string comparison in cd692c6954629e977250ec7c12509ffd3f9
-rw-r--r-- | source/blender/editors/space_node/drawnode.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/drawnode.cc b/source/blender/editors/space_node/drawnode.cc index b5acdede81b..0f7a911e3ce 100644 --- a/source/blender/editors/space_node/drawnode.cc +++ b/source/blender/editors/space_node/drawnode.cc @@ -3596,7 +3596,7 @@ static void std_node_socket_draw( break; } case SOCK_TEXTURE: { - if (text == "") { + if (text[0] == '\0') { uiTemplateID(layout, C, ptr, |