mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
Quick fix to last commit.
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user