Quick fix to last commit.

This commit is contained in:
Tim Edwards
2020-03-25 12:07:14 -04:00
parent c433534f4c
commit 151f1fb470
+1 -1
View File
@@ -987,7 +987,7 @@ calmaElementText()
{
idx = sl->lab_flags & PORT_NUM_MASK;
if (idx > i) i = idx;
if (!strcmp(sl->lab_text, textbody))
if ((sl != lab) && !strcmp(sl->lab_text, textbody))
{
i = (sl->lab_flags & PORT_NUM_MASK) - 1;
break;