>From a8b809129ffaa8232922cc48acd9e49f2c81412f Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Tue, 24 Mar 2009 17:09:46 +0100 Subject: [PATCH] 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; -- 1.6.0.6