summaryrefslogtreecommitdiffstats
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
commitc9cbbbf739e444587aa5426050f285d32efc083e (patch)
tree02cce00868b5a7ea8865e564551856f64acaaedb /ext/tk
parentbcf2f6f3604ffd0cff4d17f8ee7c8718321421d7 (diff)
downloadruby-c9cbbbf739e444587aa5426050f285d32efc083e.tar.gz
ruby-c9cbbbf739e444587aa5426050f285d32efc083e.tar.xz
ruby-c9cbbbf739e444587aa5426050f285d32efc083e.zip
* 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: http://svn.ruby-lang.org/repos/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 9b323e9cb..a546b222d 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