=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: urlmon/tests: Use BOOL type where appropriate.
Alexandre Julliard
julliard at winehq.org
Thu Mar 20 16:22:51 CDT 2014
Module: wine
Branch: master
Commit: ed9607876c19ebd64e40b08f3367fde9de812ad3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ed9607876c19ebd64e40b08f3367fde9de812ad3
Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date: Thu Mar 20 09:29:36 2014 +0100
urlmon/tests: Use BOOL type where appropriate.
---
dlls/urlmon/tests/misc.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/dlls/urlmon/tests/misc.c b/dlls/urlmon/tests/misc.c
index 78d3448..7071aa9 100644
--- a/dlls/urlmon/tests/misc.c
+++ b/dlls/urlmon/tests/misc.c
@@ -1740,7 +1740,8 @@ static void test_internet_features_registry(void) {
char *name;
HKEY feature_control;
HKEY feature;
- DWORD value, skip_zone;
+ DWORD value;
+ BOOL skip_zone;
BOOL delete_feature_key = TRUE;
static const char* szFeatureBehaviorsKey = "FEATURE_BEHAVIORS";
@@ -1805,11 +1806,11 @@ static void test_internet_features_registry(void) {
if (res == ERROR_ACCESS_DENIED)
{
skip("Not allowed to modify zone elevation\n");
- skip_zone = 1;
+ skip_zone = TRUE;
}
else
{
- skip_zone = 0;
+ skip_zone = FALSE;
ok(res == ERROR_SUCCESS, "RegSetValueEx failed: %d\n", res);
hres = pCoInternetIsFeatureEnabled(FEATURE_ZONE_ELEVATION, GET_FEATURE_FROM_PROCESS);
More information about the wine-cvs
mailing list