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
e3f6ed2d
Commit
e3f6ed2d
authored
Oct 04, 2003
by
Pavel Roskin
Committed by
Alexandre Julliard
Oct 04, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't pass unused pointers to RegCreateKeyEx() - this prevents score
saving on Windows 2000.
parent
7760413f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
main.c
programs/winemine/main.c
+2
-4
No files found.
programs/winemine/main.c
View file @
e3f6ed2d
...
...
@@ -384,17 +384,15 @@ void LoadBoard( BOARD *p_board )
void
SaveBoard
(
BOARD
*
p_board
)
{
DWORD
disp
;
HKEY
hkey
;
SECURITY_ATTRIBUTES
sa
;
unsigned
i
;
char
data
[
16
];
char
key_name
[
8
];
if
(
RegCreateKeyEx
(
HKEY_LOCAL_MACHINE
,
"Software
\\
Wine
\\
WineMine"
,
0
,
NULL
,
REG_OPTION_NON_VOLATILE
,
KEY_WRITE
,
&
sa
,
&
hkey
,
&
disp
)
!=
ERROR_SUCCESS
)
REG_OPTION_NON_VOLATILE
,
KEY_WRITE
,
NULL
,
&
hkey
,
NULL
)
!=
ERROR_SUCCESS
)
return
;
wsprintf
(
data
,
"%d"
,
p_board
->
pos
.
x
);
...
...
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