Author: akhaldi
Date: Thu Nov 26 22:42:12 2015
New Revision: 70121
URL:
http://svn.reactos.org/svn/reactos?rev=70121&view=rev
Log:
[WINMINE] Sync with Wine Staging 1.7.55. CORE-10536
Modified:
trunk/reactos/base/applications/games/winmine/main.c
trunk/reactos/media/doc/README.WINE
Modified: trunk/reactos/base/applications/games/winmine/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/games/wi…
==============================================================================
--- trunk/reactos/base/applications/games/winmine/main.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/games/winmine/main.c [iso-8859-1] Thu Nov 26 22:42:12
2015
@@ -79,38 +79,31 @@
RegOpenKeyExW( HKEY_CURRENT_USER, registry_key, 0, KEY_QUERY_VALUE, &hkey );
size = sizeof( p_board->pos.x );
- if( !RegQueryValueExW( hkey, xposW, NULL, &type,
- (LPBYTE) &p_board->pos.x, &size ) == ERROR_SUCCESS )
+ if( RegQueryValueExW( hkey, xposW, NULL, &type, (BYTE*) &p_board->pos.x,
&size ) )
p_board->pos.x = 0;
size = sizeof( p_board->pos.y );
- if( !RegQueryValueExW( hkey, yposW, NULL, &type,
- (LPBYTE) &p_board->pos.y, &size ) == ERROR_SUCCESS )
+ if( RegQueryValueExW( hkey, yposW, NULL, &type, (BYTE*) &p_board->pos.y,
&size ) )
p_board->pos.y = 0;
size = sizeof( p_board->rows );
- if( !RegQueryValueExW( hkey, heightW, NULL, &type,
- (LPBYTE) &p_board->rows, &size ) == ERROR_SUCCESS )
+ if( RegQueryValueExW( hkey, heightW, NULL, &type, (BYTE*) &p_board->rows,
&size ) )
p_board->rows = BEGINNER_ROWS;
size = sizeof( p_board->cols );
- if( !RegQueryValueExW( hkey, widthW, NULL, &type,
- (LPBYTE) &p_board->cols, &size ) == ERROR_SUCCESS )
+ if( RegQueryValueExW( hkey, widthW, NULL, &type, (BYTE*) &p_board->cols,
&size ) )
p_board->cols = BEGINNER_COLS;
size = sizeof( p_board->mines );
- if( !RegQueryValueExW( hkey, minesW, NULL, &type,
- (LPBYTE) &p_board->mines, &size ) == ERROR_SUCCESS )
+ if( RegQueryValueExW( hkey, minesW, NULL, &type, (BYTE*) &p_board->mines,
&size ) )
p_board->mines = BEGINNER_MINES;
size = sizeof( p_board->difficulty );
- if( !RegQueryValueExW( hkey, difficultyW, NULL, &type,
- (LPBYTE) &p_board->difficulty, &size ) == ERROR_SUCCESS )
+ if( RegQueryValueExW( hkey, difficultyW, NULL, &type, (BYTE*)
&p_board->difficulty, &size ) )
p_board->difficulty = BEGINNER;
size = sizeof( p_board->IsMarkQ );
- if( !RegQueryValueExW( hkey, markW, NULL, &type,
- (LPBYTE) &p_board->IsMarkQ, &size ) == ERROR_SUCCESS )
+ if( RegQueryValueExW( hkey, markW, NULL, &type, (BYTE*) &p_board->IsMarkQ,
&size ) )
p_board->IsMarkQ = TRUE;
for( i = 0; i < 3; i++ ) {
@@ -126,8 +119,7 @@
for( i = 0; i < 3; i++ ) {
wsprintfW( key_name, timeW, i+1 );
size = sizeof( p_board->best_time[i] );
- if( !RegQueryValueExW( hkey, key_name, NULL, &type,
- (LPBYTE) &p_board->best_time[i], &size ) == ERROR_SUCCESS )
+ if( RegQueryValueExW( hkey, key_name, NULL, &type, (BYTE*)
&p_board->best_time[i], &size ) )
p_board->best_time[i] = 999;
}
RegCloseKey( hkey );
Modified: trunk/reactos/media/doc/README.WINE
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/doc/README.WINE?rev=…
==============================================================================
--- trunk/reactos/media/doc/README.WINE [iso-8859-1] (original)
+++ trunk/reactos/media/doc/README.WINE [iso-8859-1] Thu Nov 26 22:42:12 2015
@@ -234,7 +234,7 @@
reactos/base/applications/cmdutils/wmic # Synced to WineStaging-1.7.47
reactos/base/applications/cmdutils/wscript # Synced to WineStaging-1.7.37
reactos/base/applications/cmdutils/xcopy # Synced to WineStaging-1.7.47
-reactos/base/applications/games/winmine # Synced to WineStaging-1.7.47 with our own
resources.
+reactos/base/applications/games/winmine # Synced to WineStaging-1.7.55 with our own
resources.
reactos/base/applications/extrac32 # Synced to WineStaging-1.7.47
reactos/base/applications/iexplore # Synced to WineStaging-1.7.47
reactos/base/applications/notepad # Forked at Wine-20041201