[前][次][番号順一覧][スレッド一覧]

ruby-changes:38572

From: nobu <ko1@a...>
Date: Thu, 28 May 2015 06:57:26 +0900 (JST)
Subject: [ruby-changes:38572] nobu:r50653 (trunk): Fix typo in samples for tk ext [skip ci]

nobu	2015-05-28 06:56:04 +0900 (Thu, 28 May 2015)

  New Revision: 50653

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50653

  Log:
    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]

  Modified files:
    trunk/ChangeLog
    trunk/ext/tk/sample/figmemo_sample.rb
    trunk/ext/tk/sample/tktextio.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 50652)
+++ ChangeLog	(revision 50653)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu May 28 06:55:53 2015  Anton Davydov  <antondavydov.o@g...>
+
+	* 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@8...>
 
 	* ext/openssl/ossl_asn1.c (ossl_asn1_traverse, ossl_asn1_decode,
Index: ext/tk/sample/figmemo_sample.rb
===================================================================
--- ext/tk/sample/figmemo_sample.rb	(revision 50652)
+++ ext/tk/sample/figmemo_sample.rb	(revision 50653)
@@ -300,7 +300,7 @@ end https://github.com/ruby/ruby/blob/trunk/ext/tk/sample/figmemo_sample.rb#L300
 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
 
Index: ext/tk/sample/tktextio.rb
===================================================================
--- ext/tk/sample/tktextio.rb	(revision 50652)
+++ ext/tk/sample/tktextio.rb	(revision 50653)
@@ -935,7 +935,7 @@ if __FILE__ == $0 https://github.com/ruby/ruby/blob/trunk/ext/tk/sample/tktextio.rb#L935
   $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)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]