瀏覽代碼

Fixed bug with labels

ceriel 28 年之前
父節點
當前提交
624bb4e0d9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lang/pc/comp/label.c

+ 1 - 1
lang/pc/comp/label.c

@@ -50,7 +50,7 @@ chk_labels(Slevel)
 			struct lab *plab = df->lab_next;
 
 			while( plab )	{
-				if( plab->lb_level > 1 )
+				if( plab->lb_level == Slevel )
 					plab->lb_level--;
 				plab = plab->lb_next;
 			}