Module: wine Branch: master Commit: 7e7e27f7ff593cb31930f6e52bc4068c87c758e9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7e7e27f7ff593cb31930f6e52b...
Author: Paul Vriens Paul.Vriens.Wine@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;