mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix typo in samples for tk ext [skip ci]
* ext/tk/sample/figmemo_sample.rb (open_file), ext/tk/sample/tktextio.rb (TkTextIO): fix typo in messages. [Fix GH-916] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c83883cf4e
commit
86f7fceef4
3 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
Thu May 28 06:55:53 2015 Anton Davydov <antondavydov.o@gmail.com>
|
||||
|
||||
* ext/tk/sample/figmemo_sample.rb (open_file),
|
||||
ext/tk/sample/tktextio.rb (TkTextIO): fix typo in messages.
|
||||
[Fix GH-916]
|
||||
|
||||
Wed May 27 09:50:51 2015 Eric Wong <e@80x24.org>
|
||||
|
||||
* ext/openssl/ossl_asn1.c (ossl_asn1_traverse, ossl_asn1_decode,
|
||||
|
|
|
@ -300,7 +300,7 @@ end
|
|||
def open_file(canvas, fname)
|
||||
if canvas.modified?
|
||||
ret = Tk.messageBox(:icon=>'warning',:type=>'okcancel',:default=>'cancel',
|
||||
:message=>'Canvas may be modified. Realy erase? ')
|
||||
:message=>'Canvas may be modified. Really erase? ')
|
||||
return if ret == 'cancel'
|
||||
end
|
||||
|
||||
|
|
|
@ -935,7 +935,7 @@ if __FILE__ == $0
|
|||
$stdout = tio
|
||||
$stderr = tio
|
||||
|
||||
STDOUT.print("\n========= TkTextIO#gets for inital text ========\n\n")
|
||||
STDOUT.print("\n========= TkTextIO#gets for initial text ========\n\n")
|
||||
|
||||
while(s = gets)
|
||||
STDOUT.print(s)
|
||||
|
|
Loading…
Add table
Reference in a new issue