From 33f2ff3babb7054f3df1efa25c1285e09613d7b8 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Mon, 26 Apr 2021 00:10:39 +0900 Subject: Fix some typos by spell checker --- ext/win32ole/sample/xml.rb | 12 ++++++------ ext/win32ole/win32ole_type.c | 2 +- ext/win32ole/win32ole_variant.c | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'ext/win32ole') diff --git a/ext/win32ole/sample/xml.rb b/ext/win32ole/sample/xml.rb index 36c3db32ef..5a239c9336 100644 --- a/ext/win32ole/sample/xml.rb +++ b/ext/win32ole/sample/xml.rb @@ -1032,8 +1032,8 @@ module IXMLDOMDocument end # VOID save - # save the document to a specified desination - # VARIANT arg0 --- desination [IN] + # save the document to a specified destination + # VARIANT arg0 --- destination [IN] def save(arg0) ret = _invoke(64, [arg0], [VT_VARIANT]) @lastargs = WIN32OLE::ARGV @@ -6224,8 +6224,8 @@ class Microsoft_XMLDOM_1_0 # DOMDocument end # VOID save - # save the document to a specified desination - # VARIANT arg0 --- desination [IN] + # save the document to a specified destination + # VARIANT arg0 --- destination [IN] def save(arg0) ret = @dispatch._invoke(64, [arg0], [VT_VARIANT]) @lastargs = WIN32OLE::ARGV @@ -6831,8 +6831,8 @@ class Microsoft_FreeThreadedXMLDOM_1_0 # DOMFreeThreadedDocument end # VOID save - # save the document to a specified desination - # VARIANT arg0 --- desination [IN] + # save the document to a specified destination + # VARIANT arg0 --- destination [IN] def save(arg0) ret = @dispatch._invoke(64, [arg0], [VT_VARIANT]) @lastargs = WIN32OLE::ARGV diff --git a/ext/win32ole/win32ole_type.c b/ext/win32ole/win32ole_type.c index fa39bf3696..48dbc9dbde 100644 --- a/ext/win32ole/win32ole_type.c +++ b/ext/win32ole/win32ole_type.c @@ -56,7 +56,7 @@ static const rb_data_type_t oletype_datatype = { /* * Document-class: WIN32OLE_TYPE * - * WIN32OLE_TYPE objects represent OLE type libarary information. + * WIN32OLE_TYPE objects represent OLE type library information. */ static void diff --git a/ext/win32ole/win32ole_variant.c b/ext/win32ole/win32ole_variant.c index 93f0636593..5ab29669f6 100644 --- a/ext/win32ole/win32ole_variant.c +++ b/ext/win32ole/win32ole_variant.c @@ -371,7 +371,7 @@ check_type_val2variant(VALUE val) * Win32OLE converts Ruby object into OLE variant automatically when * invoking OLE methods. If OLE method requires the argument which is * different from the variant by automatic conversion of Win32OLE, you - * can convert the specfied variant type by using WIN32OLE_VARIANT class. + * can convert the specified variant type by using WIN32OLE_VARIANT class. * * param = WIN32OLE_VARIANT.new(10, WIN32OLE::VARIANT::VT_R4) * oleobj.method(param) -- cgit v1.2.3