mirror of
https://github.com/reactos/reactos.git
synced 2025-04-05 05:01:03 +00:00
fix access violation in SaveBoard()
svn path=/trunk/; revision=18373
This commit is contained in:
parent
5be74add41
commit
d4b58223f9
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue