Commit e5cc92f3 authored by Greg Geldorp's avatar Greg Geldorp Committed by Alexandre Julliard

shell32/tests: Remove shlwapi dependency.

parent 507ec2a4
TESTDLL = shell32.dll
IMPORTS = shell32 ole32 oleaut32 shlwapi user32 advapi32
IMPORTS = shell32 ole32 oleaut32 user32 advapi32
C_SRCS = \
appbar.c \
......
......@@ -118,7 +118,9 @@ static void test_namespace(void)
r = pSHGetFolderPathW(NULL, CSIDL_PROGRAM_FILES, NULL,
SHGFP_TYPE_CURRENT, path);
ok(r == S_OK, "SHGetFolderPath failed: %08x\n", r);
p = PathFindFileNameW(path);
p = path + lstrlenW(path);
while (path < p && *(p - 1) != '\\')
p--;
ok(!lstrcmpW(title, p), "expected %s, got %s\n",
wine_dbgstr_w(p), wine_dbgstr_w(title));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment