Bladeren bron

fixed isEmpty.

Nicolas Cannasse 19 jaren geleden
bovenliggende
commit
f6688e4c89
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      std/List.hx

+ 1 - 1
std/List.hx

@@ -79,7 +79,7 @@ class List<T> {
 	}
 
 	public function isEmpty() : Bool {
-		return (h != null);
+		return (h == null);
 	}
 
 	public function remove( v : T ) : Bool {