[mshtml] insert missing "return" operator

Andrey Turkin pancha at mail.nnov.ru
Fri Oct 20 14:40:01 CDT 2006


This patch insert missing return operator which prevented wine from
using Mozilla Browser control.

ChangeLog:
insert missing "return" operator (use mozctl if installed)
-------------- next part --------------
--- wine-0.9.23/dlls/mshtml/nsembed.c	2006-10-13 18:43:39.000000000 +0400
+++ wine-0.9.23-my/dlls/mshtml/nsembed.c	2006-10-20 23:18:36.806678750 +0400
@@ -228,7 +228,7 @@ static BOOL load_mozctl(PRUnichar *gre_p
             WCHAR *ptr;
             if((ptr = strrchrW(gre_path, '\\')))
                 ptr[1] = 0;
-            load_xpcom(gre_path);
+            return load_xpcom(gre_path);
         }else {
             ERR("Could not get value of %s\n", debugstr_w(wszMozCtlClsidKey));
         }


More information about the wine-patches mailing list