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
a57d77a7
Commit
a57d77a7
authored
Apr 04, 2000
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Call PROFILE_GetWineIniBool before starting to fill the request
buffer. Made new registry format the default.
parent
d3928317
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
registry.c
misc/registry.c
+3
-2
No files found.
misc/registry.c
View file @
a57d77a7
...
@@ -321,7 +321,7 @@ void SHELL_SaveRegistry( void )
...
@@ -321,7 +321,7 @@ void SHELL_SaveRegistry( void )
struct
set_registry_levels_request
*
req
=
get_req_buffer
();
struct
set_registry_levels_request
*
req
=
get_req_buffer
();
char
buf
[
4
];
char
buf
[
4
];
HKEY
hkey
;
HKEY
hkey
;
int
all
;
int
all
,
version
;
TRACE
(
"(void)
\n
"
);
TRACE
(
"(void)
\n
"
);
...
@@ -349,10 +349,11 @@ void SHELL_SaveRegistry( void )
...
@@ -349,10 +349,11 @@ void SHELL_SaveRegistry( void )
if
(
lstrcmpiA
(
buf
,
"yes"
))
all
=
1
;
if
(
lstrcmpiA
(
buf
,
"yes"
))
all
=
1
;
version
=
PROFILE_GetWineIniBool
(
"registry"
,
"UseNewFormat"
,
1
)
?
2
:
1
;
/* set saving level (0 for saving everything, 1 for saving only modified keys) */
/* set saving level (0 for saving everything, 1 for saving only modified keys) */
req
->
current
=
1
;
req
->
current
=
1
;
req
->
saving
=
!
all
;
req
->
saving
=
!
all
;
req
->
version
=
PROFILE_GetWineIniBool
(
"registry"
,
"UseNewFormat"
,
0
)
?
2
:
1
;
req
->
version
=
version
;
server_call
(
REQ_SET_REGISTRY_LEVELS
);
server_call
(
REQ_SET_REGISTRY_LEVELS
);
SHELL_SaveRegistryBranch
(
HKEY_CURRENT_USER
);
SHELL_SaveRegistryBranch
(
HKEY_CURRENT_USER
);
...
...
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