fix access violation in SaveBoard()
Modified: trunk/rosapps/games/winemine/main.c
_____
Modified: trunk/rosapps/games/winemine/main.c
--- trunk/rosapps/games/winemine/main.c 2005-10-09 11:24:51 UTC (rev
18372)
+++ trunk/rosapps/games/winemine/main.c 2005-10-09 11:57:15 UTC (rev
18373)
@@ -388,14 +388,13 @@
{
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;
Show replies by date