ruby-changes:47601
From: suke <ko1@a...>
Date: Sat, 2 Sep 2017 09:26:43 +0900 (JST)
Subject: [ruby-changes:47601] suke:r59717 (trunk): * ext/win32ole/win32ole.c (fole_initialize): fix typo. thanks to Gray Wolf.
suke 2017-09-02 09:26:37 +0900 (Sat, 02 Sep 2017) New Revision: 59717 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59717 Log: * ext/win32ole/win32ole.c (fole_initialize): fix typo. thanks to Gray Wolf. [Feature #13828] Modified files: trunk/ext/win32ole/win32ole.c Index: ext/win32ole/win32ole.c =================================================================== --- ext/win32ole/win32ole.c (revision 59716) +++ ext/win32ole/win32ole.c (revision 59717) @@ -2468,7 +2468,7 @@ fole_initialize(int argc, VALUE *argv, V https://github.com/ruby/ruby/blob/trunk/ext/win32ole/win32ole.c#L2468 IDispatch *pDispatch; IClassFactory2 * pIClassFactory2; void *p; - static ID keyward_ids[1]; + static ID keyword_ids[1]; VALUE kwargs[1]; rb_call_super(0, 0); @@ -2501,10 +2501,10 @@ fole_initialize(int argc, VALUE *argv, V https://github.com/ruby/ruby/blob/trunk/ext/win32ole/win32ole.c#L2501 StringValuePtr(svr_name)); } - if (!keyward_ids[0]) { - keyward_ids[0] = rb_intern_const("license"); + if (!keyword_ids[0]) { + keyword_ids[0] = rb_intern_const("license"); } - rb_get_kwargs(opts, keyward_ids, 0, 1, kwargs); + rb_get_kwargs(opts, keyword_ids, 0, 1, kwargs); if (kwargs[0] == Qundef) { /* get IDispatch interface */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/