Bruno Jesus : urlmon: Ignore unsupported flags for CoInternetSetFeatureEnabled.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Oct 12 09:51:13 CDT 2015


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

Author: Bruno Jesus <00cpxxx at gmail.com>
Date:   Sun Oct 11 18:32:30 2015 +0800

urlmon: Ignore unsupported flags for CoInternetSetFeatureEnabled.

Signed-off-by: Bruno Jesus <00cpxxx at gmail.com>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/urlmon/internet.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dlls/urlmon/internet.c b/dlls/urlmon/internet.c
index e5d41b6..d7deccc 100644
--- a/dlls/urlmon/internet.c
+++ b/dlls/urlmon/internet.c
@@ -536,10 +536,8 @@ static HRESULT set_internet_feature(INTERNETFEATURELIST feature, DWORD flags, BO
     if(feature >= FEATURE_ENTRY_COUNT)
         return E_FAIL;
 
-    if(flags & ~supported_flags) {
+    if(flags & ~supported_flags)
         FIXME("Unsupported flags: %08x\n", flags & ~supported_flags);
-        return E_NOTIMPL;
-    }
 
     if(flags & SET_FEATURE_ON_PROCESS)
         set_feature_on_process(feature, enable);




More information about the wine-cvs mailing list