Nicolas Cannasse 19 年之前
父節點
當前提交
a61eb17cda
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      std/List.hx

+ 1 - 1
std/List.hx

@@ -91,7 +91,7 @@ class List<T> {
 					h = l[1];
 				else
 					prev[1] = l[1];
-				if( q == cur )
+				if( q == l )
 					q = prev;
 				length--;
 				return true;