summaryrefslogtreecommitdiff
path: root/ext/tk/lib
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tk/lib')
-rw-r--r--ext/tk/lib/tk.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb
index 7fe2fb0878..67ea8ead46 100644
--- a/ext/tk/lib/tk.rb
+++ b/ext/tk/lib/tk.rb
@@ -913,7 +913,7 @@ end
def install_win(ppath,name=nil)
if name
if name == ''
- raise ArgumentError, "invalid wiget-name '#{name}'"
+ raise ArgumentError, "invalid widget-name '#{name}'"
end
if name[0] == ?.
@path = '' + name