Skip to content

Commit

Permalink
Fix typo in samples for tk ext [skip ci]
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
nobu committed May 27, 2015
1 parent c83883c commit 86f7fce
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
2 changes: 1 addition & 1 deletion ext/tk/sample/figmemo_sample.rb
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def get_texts
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

Expand Down
2 changes: 1 addition & 1 deletion ext/tk/sample/tktextio.rb
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ def write(obj)
$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)
Expand Down

0 comments on commit 86f7fce

Please sign in to comment.