Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c356d450
Commit
c356d450
authored
Nov 15, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 15, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Simplify get_feature_from_process.
parent
72edda27
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
internet.c
dlls/urlmon/internet.c
+3
-8
No files found.
dlls/urlmon/internet.c
View file @
c356d450
...
@@ -637,21 +637,16 @@ static HRESULT load_process_feature(INTERNETFEATURELIST feature)
...
@@ -637,21 +637,16 @@ static HRESULT load_process_feature(INTERNETFEATURELIST feature)
static
HRESULT
get_feature_from_process
(
INTERNETFEATURELIST
feature
)
static
HRESULT
get_feature_from_process
(
INTERNETFEATURELIST
feature
)
{
{
HRESULT
hres
;
HRESULT
hres
=
S_OK
;
EnterCriticalSection
(
&
process_features_cs
);
EnterCriticalSection
(
&
process_features_cs
);
/* Try loading the feature from the registry, if it hasn't already
/* Try loading the feature from the registry, if it hasn't already
* been done.
* been done.
*/
*/
if
(
process_feature_controls
[
feature
].
check_registry
)
{
if
(
process_feature_controls
[
feature
].
check_registry
)
hres
=
load_process_feature
(
feature
);
hres
=
load_process_feature
(
feature
);
if
(
FAILED
(
hres
))
{
if
(
SUCCEEDED
(
hres
))
LeaveCriticalSection
(
&
process_features_cs
);
return
hres
;
}
}
hres
=
process_feature_controls
[
feature
].
enabled
?
S_OK
:
S_FALSE
;
hres
=
process_feature_controls
[
feature
].
enabled
?
S_OK
:
S_FALSE
;
LeaveCriticalSection
(
&
process_features_cs
);
LeaveCriticalSection
(
&
process_features_cs
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment