Fixed bug with labels
This commit is contained in:
parent
0bf45ac757
commit
4565576021
|
@ -50,7 +50,7 @@ chk_labels(Slevel)
|
||||||
struct lab *plab = df->lab_next;
|
struct lab *plab = df->lab_next;
|
||||||
|
|
||||||
while( plab ) {
|
while( plab ) {
|
||||||
if( plab->lb_level > 1 )
|
if( plab->lb_level == Slevel )
|
||||||
plab->lb_level--;
|
plab->lb_level--;
|
||||||
plab = plab->lb_next;
|
plab = plab->lb_next;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue