aboutsummaryrefslogtreecommitdiffstats
path: root/enum.c
diff options
context:
space:
mode:
Diffstat (limited to 'enum.c')
-rw-r--r--enum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/enum.c b/enum.c
index 05c425cb42..0715772a39 100644
--- a/enum.c
+++ b/enum.c
@@ -1360,7 +1360,7 @@ zip_ary(VALUE val, NODE *memo, int argc, VALUE *argv)
for (i=0; i<RARRAY_LEN(args); i++) {
VALUE e = RARRAY_PTR(args)[i];
- if (RARRAY_LEN(e) < n) {
+ if (RARRAY_LEN(e) <= n) {
rb_ary_push(tmp, Qnil);
}
else {