mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
Corrected an error in the last commit in which I expanded the body of
a "for" loop in extract/ExtHier.c from one line to two but failed to then put braces around the whole loop.
This commit is contained in:
+2
-1
@@ -291,7 +291,7 @@ extHierConnectFunc1(oneTile, ha)
|
||||
// node only describes a single point.
|
||||
|
||||
for (lab = cumDef->cd_labels; lab; lab = lab->lab_next)
|
||||
|
||||
{
|
||||
// All sticky labels are at the front of the list in cumDef, so
|
||||
// stop when we see the first non-sticky label.
|
||||
if (!(lab->lab_flags & LABEL_STICKY)) break;
|
||||
@@ -355,6 +355,7 @@ extHierConnectFunc1(oneTile, ha)
|
||||
#endif
|
||||
}
|
||||
|
||||
}
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user