Jacek Caban : mshtml: Code cleanup.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Oct 2 15:01:23 CDT 2006


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Mon Oct  2 20:07:13 2006 +0200

mshtml: Code cleanup.

---

 dlls/mshtml/nsembed.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/dlls/mshtml/nsembed.c b/dlls/mshtml/nsembed.c
index cf5fe20..265150c 100644
--- a/dlls/mshtml/nsembed.c
+++ b/dlls/mshtml/nsembed.c
@@ -315,10 +315,9 @@ static BOOL load_gecko(void)
         }
     }
 
-    NS_StringContainerInit(&path);
-    NS_StringSetData(&path, gre_path, PR_UINT32_MAX);
+    nsAString_Init(&path, gre_path);
     nsres = NS_NewLocalFile(&path, FALSE, &gre_dir);
-    NS_StringContainerFinish(&path);
+    nsAString_Finish(&path);
     if(NS_FAILED(nsres)) {
         ERR("NS_NewLocalFile failed: %08lx\n", nsres);
         FreeLibrary(hXPCOM);




More information about the wine-cvs mailing list