wineboot: In ProcessRunKeys use correct parentheses in condition.

Spotted by David Binderman.

Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Fabian Maurer 2017-10-24 20:05:52 +02:00 committed by Alexandre Julliard
parent 8159af76b4
commit 8fc3f3437c
1 changed files with 1 additions and 1 deletions

View File

@ -682,7 +682,7 @@ static BOOL ProcessRunKeys( HKEY hkRoot, LPCWSTR szKeyName, BOOL bDelete,
return TRUE;
if ((res = RegCreateKeyExW( hkWin, szKeyName, 0, NULL, 0, bDelete ? KEY_ALL_ACCESS : KEY_READ,
NULL, &hkRun, &dispos ) != ERROR_SUCCESS))
NULL, &hkRun, &dispos )) != ERROR_SUCCESS)
{
RegCloseKey( hkWin );
return TRUE;