diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-09 05:05:09 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-09 05:05:09 +0000 |
commit | 0d15e30a48da9d11b697b1d4514fd5dcbaf03154 (patch) | |
tree | d93803e986576dbf70215f2c4727e552e87cca91 /ext/tk | |
parent | d8d78f07ae8a56e8398f40c1123f7ce316c7f9eb (diff) | |
download | ruby-0d15e30a48da9d11b697b1d4514fd5dcbaf03154.tar.gz |
tcltklib.c: missing break [ci skip]
* ext/tk/tcltklib.c (set_max_block_time): fix missing break.
TclTkLib.set_max_block_time(1) works but
TclTkLib.set_max_block_time(1.0) didn't.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk')
-rw-r--r-- | ext/tk/tcltklib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/tk/tcltklib.c b/ext/tk/tcltklib.c index 37d83fff48..ea6ffadc50 100644 --- a/ext/tk/tcltklib.c +++ b/ext/tk/tcltklib.c @@ -1901,6 +1901,7 @@ set_max_block_time(self, time) divmod = rb_funcall(time, rb_intern("divmod"), 1, INT2FIX(1)); tcl_time.sec = NUM2LONG(RARRAY_AREF(divmod, 0)); tcl_time.usec = (long)(NUM2DBL(RARRAY_AREF(divmod, 1)) * 1000000); + break; default: { |