summaryrefslogtreecommitdiffstats
path: root/ext/tk/lib/tkcanvas.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tk/lib/tkcanvas.rb')
-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