diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-05-15 18:18:44 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-05-15 18:19:23 +0900 |
commit | 214e2f93aa6b0810353b67f320dab6aa63a97169 (patch) | |
tree | 071add90b92003758a3d147cc744162d3dd231cb /ext/io/console | |
parent | 3cf767ee35060d7d261f47399a7d717256d0f237 (diff) | |
download | ruby-214e2f93aa6b0810353b67f320dab6aa63a97169.tar.gz |
Fix the warning in 456586bb234915107da255d2944f620a7dd7048b
Diffstat (limited to 'ext/io/console')
-rw-r--r-- | ext/io/console/console.c | 2 |
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"); } } |