diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-27 21:56:04 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-27 21:56:04 +0000 |
commit | 86f7fceef49ac75a3f174b19b8aad3921406cc0f (patch) | |
tree | e51b8779a6191d228974403b2356a4749c9a19d5 | |
parent | c83883cf4ee602c6c6abdf8c25eeb88b551bd222 (diff) | |
download | ruby-86f7fceef49ac75a3f174b19b8aad3921406cc0f.tar.gz |
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
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ext/tk/sample/figmemo_sample.rb | 2 | ||||
-rw-r--r-- | ext/tk/sample/tktextio.rb | 2 |
3 files changed, 8 insertions, 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, diff --git a/ext/tk/sample/figmemo_sample.rb b/ext/tk/sample/figmemo_sample.rb index da6c41797e..740427f873 100644 --- a/ext/tk/sample/figmemo_sample.rb +++ b/ext/tk/sample/figmemo_sample.rb @@ -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 diff --git a/ext/tk/sample/tktextio.rb b/ext/tk/sample/tktextio.rb index 679a2b7142..74a0804d38 100644 --- a/ext/tk/sample/tktextio.rb +++ b/ext/tk/sample/tktextio.rb @@ -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) |