summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib.c b/lib.c
index cba770b2..99284d9f 100644
--- a/lib.c
+++ b/lib.c
@@ -292,7 +292,7 @@ seq_info_t seq_info(val obj)
} else {
if (get_special_slot(obj, length_m))
ret.kind = SEQ_VECLIKE;
- if (get_special_slot(obj, car_m))
+ else if (get_special_slot(obj, car_m))
ret.kind = SEQ_LISTLIKE;
else
ret.kind = SEQ_NOTSEQ;