summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-08-04 15:41:33 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-08-04 15:41:33 +0200
commita0b4d1eafa4312b5970f7268441d848be5231e7b (patch)
tree59c80ab8121c39a525774a50da1f3047cfd8beaf
parent820c78beaccf784f710bdd91298401a745d93f2e (diff)
Denullify elements when turning an NSArray into a list.
-rw-r--r--MLKCons.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/MLKCons.m b/MLKCons.m
index 469275b..08c941a 100644
--- a/MLKCons.m
+++ b/MLKCons.m
@@ -52,11 +52,11 @@
id item = [array objectAtIndex:i];
if (!tail)
{
- cons = tail = [MLKCons cons:item with:nil];
+ cons = tail = [MLKCons cons:denullify(item) with:nil];
}
else
{
- [tail setCdr:[MLKCons cons:item with:nil]];
+ [tail setCdr:[MLKCons cons:denullify(item) with:nil]];
tail = [tail cdr];
}
}