2
0
Nicolas Cannasse 19 жил өмнө
parent
commit
a1230b0f70
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      std/List.hx

+ 2 - 2
std/List.hx

@@ -54,8 +54,8 @@ class List<T> {
 			[item,q]
 		#end;
 		h = x;
-		if( h == null )
-			q = h;
+		if( q == null )
+			q = x;
 		length++;
 	}