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
fdc0d0f9
Commit
fdc0d0f9
authored
Aug 26, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecfg: Fix deletion of registry keys for Wow64 mode.
parent
f0a53a8f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
winecfg.c
programs/winecfg/winecfg.c
+10
-2
No files found.
programs/winecfg/winecfg.c
View file @
fdc0d0f9
...
...
@@ -645,7 +645,11 @@ static void process_setting(struct setting *s)
{
/* NULL name means remove that path/section entirely */
if
(
s
->
name
)
RegDeleteValueW
(
key
,
s
->
name
);
else
RegDeleteTreeW
(
key
,
NULL
);
else
{
RegDeleteTreeW
(
key
,
NULL
);
RegDeleteKeyW
(
s
->
root
,
s
->
path
);
}
RegCloseKey
(
key
);
}
if
(
needs_wow64
)
...
...
@@ -654,7 +658,11 @@ static void process_setting(struct setting *s)
if
(
!
RegOpenKeyExW
(
s
->
root
,
s
->
path
,
0
,
MAXIMUM_ALLOWED
|
KEY_WOW64_32KEY
,
&
key
))
{
if
(
s
->
name
)
RegDeleteValueW
(
key
,
s
->
name
);
else
RegDeleteTreeW
(
key
,
NULL
);
else
{
RegDeleteTreeW
(
key
,
NULL
);
RegDeleteKeyExW
(
s
->
root
,
s
->
path
,
KEY_WOW64_32KEY
,
0
);
}
RegCloseKey
(
key
);
}
}
...
...
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