[PATCH] mshtml: Fix the spelling of some comments.

Francois Gouget fgouget at free.fr
Sun Sep 29 18:39:00 CDT 2019


Signed-off-by: Francois Gouget <fgouget at free.fr>
---
 dlls/mshtml/nsiface.idl     | 2 +-
 dlls/mshtml/persist.c       | 2 +-
 dlls/mshtml/tests/htmldoc.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/mshtml/nsiface.idl b/dlls/mshtml/nsiface.idl
index 09148aa9d1f..6074edebca9 100644
--- a/dlls/mshtml/nsiface.idl
+++ b/dlls/mshtml/nsiface.idl
@@ -2989,7 +2989,7 @@ interface nsIDOMEvent : nsISupports
     nsresult DuplicatePrivateData();
     nsresult SetTarget(nsIDOMEventTarget *aTarget);
     bool IsDispatchStopped();
-    /*WidgedEvent*/ void *WidgetEventPtr();
+    /*WidgetEvent*/ void *WidgetEventPtr();
     void SetTrusted(bool aTrusted);
     void Serialize(/*IPC::Message*/ void *aMsg, bool aSerializeInterfaceType);
     bool Deserialize(const /*IPC::Message*/ void *aMsg, void **aIter);
diff --git a/dlls/mshtml/persist.c b/dlls/mshtml/persist.c
index e239fb5b16a..e87ca47c390 100644
--- a/dlls/mshtml/persist.c
+++ b/dlls/mshtml/persist.c
@@ -354,7 +354,7 @@ HRESULT set_moniker(HTMLOuterWindow *window, IMoniker *mon, IUri *nav_uri, IBind
 
     hres = IMoniker_GetDisplayName(mon, pibc, NULL, &url);
     if(FAILED(hres)) {
-        WARN("GetDiaplayName failed: %08x\n", hres);
+        WARN("GetDisplayName failed: %08x\n", hres);
         return hres;
     }
 
diff --git a/dlls/mshtml/tests/htmldoc.c b/dlls/mshtml/tests/htmldoc.c
index f8ae785b390..d13381aa0ab 100644
--- a/dlls/mshtml/tests/htmldoc.c
+++ b/dlls/mshtml/tests/htmldoc.c
@@ -5133,7 +5133,7 @@ static HRESULT WINAPI ServiceProvider_QueryService(IServiceProvider *iface, REFG
      * STopLevelBrowser
      * IHTMLWindow2
      * IInternetProtocol
-     * UrlHostory
+     * UrlHistory
      * IHTMLEditHost
      * IHlinkFrame
      */
-- 
2.20.1




More information about the wine-devel mailing list