Jacek Caban : mshtml: Fixed a typo.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Jul 27 07:34:44 CDT 2007


Module: wine
Branch: master
Commit: c43875cedadb8f1ac482ea2698d97738820706ad
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c43875cedadb8f1ac482ea2698d97738820706ad

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Fri Jul 27 02:57:14 2007 +0200

mshtml: Fixed a typo.

---

 dlls/mshtml/nsembed.c   |    4 ++--
 dlls/mshtml/nsiface.idl |    2 +-
 dlls/mshtml/nsservice.c |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/mshtml/nsembed.c b/dlls/mshtml/nsembed.c
index 6b4e918..0697d4d 100644
--- a/dlls/mshtml/nsembed.c
+++ b/dlls/mshtml/nsembed.c
@@ -259,8 +259,8 @@ static void set_profile(void)
 
     static const WCHAR wszMSHTML[] = {'M','S','H','T','M','L',0};
 
-    nsres = nsIServiceManager_GetServiceByContactID(pServMgr, NS_PROFILE_CONTRACTID,
-                                         &IID_nsIProfile, (void**)&profile);
+    nsres = nsIServiceManager_GetServiceByContractID(pServMgr, NS_PROFILE_CONTRACTID,
+            &IID_nsIProfile, (void**)&profile);
     if(NS_FAILED(nsres)) {
         ERR("Could not get profile service: %08x\n", nsres);
         return;
diff --git a/dlls/mshtml/nsiface.idl b/dlls/mshtml/nsiface.idl
index 983e38a..78e030b 100644
--- a/dlls/mshtml/nsiface.idl
+++ b/dlls/mshtml/nsiface.idl
@@ -120,7 +120,7 @@ typedef nsISupports nsIControllerCommandTable;
 interface nsIServiceManager : nsISupports
 {
     nsresult GetService(nsCIDRef aClass, nsIIDRef aIID, void **result);
-    nsresult GetServiceByContactID(const char *aContactID, nsIIDRef aIID, void **result);
+    nsresult GetServiceByContractID(const char *aContractID, nsIIDRef aIID, void **result);
     nsresult IsServiceInstantiated(nsCIDRef aClass, nsIIDRef aIID, BOOL *_retval);
     nsresult IsServiceInstantiatedByContractID(const char *aContractID, nsIIDRef aIID, BOOL *_retval);
 }
diff --git a/dlls/mshtml/nsservice.c b/dlls/mshtml/nsservice.c
index d4c9d6b..8782306 100644
--- a/dlls/mshtml/nsservice.c
+++ b/dlls/mshtml/nsservice.c
@@ -465,7 +465,7 @@ void register_nsservice(nsIComponentRegistrar *registrar, nsIServiceManager *ser
     if(NS_FAILED(nsres))
         ERR("RegisterFactory failed: %08x\n", nsres);
 
-    nsres = nsIServiceManager_GetServiceByContactID(service_manager, NS_WINDOWWATCHER_CONTRACTID,
+    nsres = nsIServiceManager_GetServiceByContractID(service_manager, NS_WINDOWWATCHER_CONTRACTID,
             &IID_nsIWindowWatcher, (void**)&window_watcher);
     if(NS_SUCCEEDED(nsres)) {
         nsres = nsIWindowWatcher_SetWindowCreator(window_watcher,




More information about the wine-cvs mailing list