Fix typo in comparator.

(cherry picked from commit 1c8f971789)
This commit is contained in:
Jeff Young
2025-05-24 22:44:10 +01:00
parent 9aa644d437
commit e7fa890ccc
+1 -1
View File
@@ -300,7 +300,7 @@ wxString SCH_FIELD::GetShownText( const SCH_SHEET_PATH* aPath, bool aAllowExtraT
text = ExpandTextVars( text, &Schematic()->Prj() );
text = ExpandTextVars( text, &schematicResolver );
}
} while( text != last && iterration++ != ADVANCED_CFG::GetCfg().m_ResolveTextRecursionDepth );
} while( text != last && iterration++ <= ADVANCED_CFG::GetCfg().m_ResolveTextRecursionDepth );
}
// WARNING: the IDs of FIELDS and SHEETS overlap, so one must check *both* the