summaryrefslogtreecommitdiff
path: root/lib/tkdialog.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-06-26 09:45:09 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-06-26 09:45:09 +0000
commit05da25f297c4d26b6bb454a9649b1dd63a102910 (patch)
tree568d1118ca9c2c7bfbcaf2d2132a7e870367d407 /lib/tkdialog.rb
parent839f4c5f3fdb4ea6b270fce17f1c3881060087d4 (diff)
980626
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 e8f2142e07..011d431951 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