Nicolas Cannasse 19 years ago
parent
commit
a61eb17cda
1 changed files with 1 additions and 1 deletions
  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;