shell32/tests: Remove shlwapi dependency.
This commit is contained in:
parent
507ec2a415
commit
e5cc92f35b
|
@ -1,5 +1,5 @@
|
|||
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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue