From 08d0611477a4b5b23f04e9002fb5ab343a61dfa5 Mon Sep 17 00:00:00 2001 From: suke Date: Sat, 2 Sep 2017 00:26:37 +0000 Subject: [PATCH] * ext/win32ole/win32ole.c (fole_initialize): fix typo. thanks to Gray Wolf. [Feature #13828] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/win32ole/win32ole.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/win32ole/win32ole.c b/ext/win32ole/win32ole.c index 4482adef1e..84bb0ba819 100644 --- a/ext/win32ole/win32ole.c +++ b/ext/win32ole/win32ole.c @@ -2468,7 +2468,7 @@ fole_initialize(int argc, VALUE *argv, VALUE self) 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, VALUE self) 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 */