summaryrefslogtreecommitdiff
path: root/ext/io/console
diff options
context:
space:
mode:
Diffstat (limited to 'ext/io/console')
-rw-r--r--ext/io/console/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/io/console/console.c b/ext/io/console/console.c
index f10b1e4a15..c378726dd5 100644
--- a/ext/io/console/console.c
+++ b/ext/io/console/console.c
@@ -425,7 +425,7 @@ console_getch(int argc, VALUE *argv, VALUE io)
tv.tv_sec = optp->vtime / 10;
tv.tv_usec = (optp->vtime % 10) * 100000;
}
- if (optp->vmin) {
+ if (optp->vmin != 1) {
rb_warning("min option ignored");
}
}