Author: cwittich
Date: Wed Dec 19 13:05:36 2007
New Revision: 31319
URL:
http://svn.reactos.org/svn/reactos?rev=31319&view=rev
Log:
fix a crash in SaveBoard
Modified:
trunk/reactos/base/applications/games/winemine/main.c
Modified: trunk/reactos/base/applications/games/winemine/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/games/wi…
==============================================================================
--- trunk/reactos/base/applications/games/winemine/main.c (original)
+++ trunk/reactos/base/applications/games/winemine/main.c Wed Dec 19 13:05:36 2007
@@ -404,7 +404,7 @@
for( i = 0; i < 3; i++ ) {
wsprintf( key_name, "Time%u", i );
- RegSetValueEx( hkey, key_name, 0, REG_DWORD, (LPBYTE) p_board->best_time[i],
sizeof(DWORD) );
+ RegSetValueEx( hkey, key_name, 0, REG_DWORD, (LPBYTE)
&p_board->best_time[i], sizeof(DWORD) );
}
RegCloseKey( hkey );