summaryrefslogtreecommitdiff
path: root/lib/tkdialog.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tkdialog.rb')
-rw-r--r--lib/tkdialog.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tkdialog.rb b/lib/tkdialog.rb
index e8f2142e074..011d4319515 100644
--- a/lib/tkdialog.rb
+++ b/lib/tkdialog.rb
@@ -9,7 +9,7 @@ class TkDialog < TkWindow
INTERP._eval('eval {global '+id+';'+
'set '+id+' [tk_dialog '+
@path+" "+title+" \"#{message}\" "+bitmap+" "+
- default_button+" "+buttons+']}')
+ String(default_button)+" "+buttons+']}')
end
def value
return @var.value.to_i