From 214e2f93aa6b0810353b67f320dab6aa63a97169 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 15 May 2019 18:18:44 +0900 Subject: Fix the warning in 456586bb234915107da255d2944f620a7dd7048b --- ext/io/console/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext') 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"); } } -- cgit v1.2.3