mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
95d949d571
commit
08d0611477
1 changed files with 4 additions and 4 deletions
|
@ -2468,7 +2468,7 @@ fole_initialize(int argc, VALUE *argv, VALUE self)
|
||||||
IDispatch *pDispatch;
|
IDispatch *pDispatch;
|
||||||
IClassFactory2 * pIClassFactory2;
|
IClassFactory2 * pIClassFactory2;
|
||||||
void *p;
|
void *p;
|
||||||
static ID keyward_ids[1];
|
static ID keyword_ids[1];
|
||||||
VALUE kwargs[1];
|
VALUE kwargs[1];
|
||||||
|
|
||||||
rb_call_super(0, 0);
|
rb_call_super(0, 0);
|
||||||
|
@ -2501,10 +2501,10 @@ fole_initialize(int argc, VALUE *argv, VALUE self)
|
||||||
StringValuePtr(svr_name));
|
StringValuePtr(svr_name));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!keyward_ids[0]) {
|
if (!keyword_ids[0]) {
|
||||||
keyward_ids[0] = rb_intern_const("license");
|
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) {
|
if (kwargs[0] == Qundef) {
|
||||||
/* get IDispatch interface */
|
/* get IDispatch interface */
|
||||||
|
|
Loading…
Add table
Reference in a new issue