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

ruby-changes:33753

From: nagai <ko1@a...>
Date: Tue, 6 May 2014 01:30:00 +0900 (JST)
Subject: [ruby-changes:33753] nagai:r45834 (trunk): * ext/tk/lib/tkextlib/tkDND/tkdnd.rb: fix typo and missing definition.

nagai	2014-05-06 01:29:55 +0900 (Tue, 06 May 2014)

  New Revision: 45834

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

  Log:
    * ext/tk/lib/tkextlib/tkDND/tkdnd.rb: fix typo and missing definition.

  Modified files:
    trunk/ext/tk/lib/tkextlib/tkDND/tkdnd.rb
Index: ext/tk/lib/tkextlib/tkDND/tkdnd.rb
===================================================================
--- ext/tk/lib/tkextlib/tkDND/tkdnd.rb	(revision 45833)
+++ ext/tk/lib/tkextlib/tkDND/tkdnd.rb	(revision 45834)
@@ -158,7 +158,7 @@ module Tk https://github.com/ruby/ruby/blob/trunk/ext/tk/lib/tkextlib/tkDND/tkdnd.rb#L158
           cmd = Proc.new
         end
 
-        args = [None] if args.empty
+        args = [TkComm::None] if args.empty?
 
         tk_call('dnd', 'bindsource', @path, type, cmd, *args)
         self

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

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