projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5be74ad
)
fix access violation in SaveBoard()
author
Martin Fuchs
<fuchs.martin@gmail.com>
Sun, 9 Oct 2005 11:57:15 +0000
(11:57 +0000)
committer
Martin Fuchs
<fuchs.martin@gmail.com>
Sun, 9 Oct 2005 11:57:15 +0000
(11:57 +0000)
svn path=/trunk/; revision=18373
rosapps/games/winemine/main.c
patch
|
blob
|
history
diff --git
a/rosapps/games/winemine/main.c
b/rosapps/games/winemine/main.c
index
bc610e6
..
6191692
100644
(file)
--- a/
rosapps/games/winemine/main.c
+++ b/
rosapps/games/winemine/main.c
@@
-388,14
+388,13
@@
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
,
+ REG_OPTION_NON_VOLATILE, KEY_WRITE,
NULL
,
&hkey, &disp ) != ERROR_SUCCESS)
return;