diff options
| author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-01-29 19:56:48 +0000 |
|---|---|---|
| committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-01-29 19:56:48 +0000 |
| commit | f85a9b31ad27800f460ff5545b94ef885efc23f7 (patch) | |
| tree | f701975998a36ec7166444f6bd3a76d6af52a620 /ext | |
| parent | 5972285fa63e2badf415b92886f716d82c2a0c2b (diff) | |
| download | ruby-f85a9b31ad27800f460ff5545b94ef885efc23f7.tar.gz ruby-f85a9b31ad27800f460ff5545b94ef885efc23f7.tar.xz ruby-f85a9b31ad27800f460ff5545b94ef885efc23f7.zip | |
* ext/tk/sample/tktextio.rb: 'hist_size' option causes error.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/tk/sample/tktextio.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/sample/tktextio.rb b/ext/tk/sample/tktextio.rb index 0b78f45b1..4573bcebd 100644 --- a/ext/tk/sample/tktextio.rb +++ b/ext/tk/sample/tktextio.rb @@ -108,7 +108,7 @@ class TkTextIO < TkText @lineno = 0 @line_offset = 0 - @hist_max = opts['hist_size'] + @hist_max = opts['hist_size'].to_i @hist_index = 0 @history = Array.new(@hist_max) @history[0] = '' |
