diff options
author | suke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-02 00:26:37 +0000 |
---|---|---|
committer | suke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-02 00:26:37 +0000 |
commit | 08d0611477a4b5b23f04e9002fb5ab343a61dfa5 (patch) | |
tree | 0e6e5f2c26621b6d07f818e7d32bbc1b0e0d1ec3 /ext/win32ole | |
parent | 95d949d5717301fec39b8b2e5b817b64761afdf1 (diff) |
* 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
Diffstat (limited to 'ext/win32ole')
-rw-r--r-- | ext/win32ole/win32ole.c | 8 |
1 files 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 */ |