Paul Vriens : comctl32/tests: Fix a crash on W2K and below.
Alexandre Julliard
julliard at winehq.org
Wed Mar 25 10:31:29 CDT 2009
Module: wine
Branch: master
Commit: 7e7e27f7ff593cb31930f6e52bc4068c87c758e9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7e7e27f7ff593cb31930f6e52bc4068c87c758e9
Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date: Tue Mar 24 17:09:46 2009 +0100
comctl32/tests: Fix a crash on W2K and below.
---
dlls/comctl32/tests/ipaddress.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/comctl32/tests/ipaddress.c b/dlls/comctl32/tests/ipaddress.c
index 32ecdc1..d04223c 100644
--- a/dlls/comctl32/tests/ipaddress.c
+++ b/dlls/comctl32/tests/ipaddress.c
@@ -69,12 +69,13 @@ static int init(void)
pInitCommonControlsEx = (void*)GetProcAddress(hComctl32, "InitCommonControlsEx");
if (!pInitCommonControlsEx)
{
- skip("InitCommonControlsEx() is missing. Skipping the tests\n");
+ win_skip("InitCommonControlsEx() is missing.\n");
return 0;
}
iccex.dwSize = sizeof(iccex);
- iccex.dwICC = ICC_USEREX_CLASSES;
+ /* W2K and below need ICC_INTERNET_CLASSES for the IP Address Control */
+ iccex.dwICC = ICC_INTERNET_CLASSES;
pInitCommonControlsEx(&iccex);
return 1;
More information about the wine-cvs
mailing list