summaryrefslogtreecommitdiff
path: root/ext/tk
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-09-03 05:31:36 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-09-03 05:31:36 +0000
commitc9d1be6327640aa5bc01f8c6c8846e4e3fb31337 (patch)
tree02cce00868b5a7ea8865e564551856f64acaaedb /ext/tk
parent50dcbc8cc6c53ec4c47b513dcbcfe597d174d78c (diff)
* ruby.c (proc_options): should not alter origargv[].
* ruby.c (set_arg0): long strings for $0 dumped core. * ruby.c (set_arg0): use setprogtitle() if it's available. * io.c (rb_io_popen): accept integer flags as mode. * file.c (rb_find_file_ext): extension table can be supplied from outside. renamed. * eval.c (rb_f_require): replace rb_find_file_noext by rb_find_file_ext. * eval.c (rb_provided): should also check feature without extension. * numeric.c (flo_to_s): do not rely on decimal point to be '.' git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk')
-rw-r--r--ext/tk/lib/tkcanvas.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/lib/tkcanvas.rb b/ext/tk/lib/tkcanvas.rb
index 9b323e9cbb..a546b222d8 100644
--- a/ext/tk/lib/tkcanvas.rb
+++ b/ext/tk/lib/tkcanvas.rb
@@ -876,7 +876,7 @@ class TkPhotoImage<TkImage
def cget(option)
case option
- when 'data', 'flie'
+ when 'data', 'file'
tk_send 'cget', option
else
tk_tcl2ruby tk_send 'cget', option