Fabian Maurer : wineboot: In ProcessRunKeys use correct parentheses in condition.
Alexandre Julliard
julliard at winehq.org
Tue Jan 2 15:01:24 CST 2018
Module: wine
Branch: stable
Commit: 15d541f667c17f7ad69cd0e797cddf8b8707f1f1
URL: https://source.winehq.org/git/wine.git/?a=commit;h=15d541f667c17f7ad69cd0e797cddf8b8707f1f1
Author: Fabian Maurer <dark.shadow4 at web.de>
Date: Tue Oct 24 20:05:52 2017 +0200
wineboot: In ProcessRunKeys use correct parentheses in condition.
Spotted by David Binderman.
Signed-off-by: Fabian Maurer <dark.shadow4 at web.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit 8fc3f3437c260db23ddff453f9a9d5f79564b24d)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
programs/wineboot/wineboot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/wineboot/wineboot.c b/programs/wineboot/wineboot.c
index ee5b8d4..2a65b9e 100644
--- a/programs/wineboot/wineboot.c
+++ b/programs/wineboot/wineboot.c
@@ -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;
More information about the wine-cvs
mailing list