mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 00:13:57 +00:00
[MSCMS_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=67088
This commit is contained in:
parent
cbf5f03dbb
commit
b072815c05
|
@ -1364,10 +1364,10 @@ START_TEST(profile)
|
||||||
/* See if we can find the standard color profile */
|
/* See if we can find the standard color profile */
|
||||||
ret = GetSystemDirectoryA( profilefile1, sizeof(profilefile1) );
|
ret = GetSystemDirectoryA( profilefile1, sizeof(profilefile1) );
|
||||||
ok( ret > 0, "GetSystemDirectoryA() returns %d, LastError = %d\n", ret, GetLastError());
|
ok( ret > 0, "GetSystemDirectoryA() returns %d, LastError = %d\n", ret, GetLastError());
|
||||||
ok( lstrlenA(profilefile1) > 0 && lstrlenA(profilefile1) < MAX_PATH,
|
ok(profilefile1[0] && lstrlenA(profilefile1) < MAX_PATH,
|
||||||
"Expected length between 0 and MAX_PATH, got %d\n", lstrlenA(profilefile1));
|
"Expected length between 0 and MAX_PATH, got %d\n", lstrlenA(profilefile1));
|
||||||
MultiByteToWideChar(CP_ACP, 0, profilefile1, -1, profilefile1W, MAX_PATH);
|
MultiByteToWideChar(CP_ACP, 0, profilefile1, -1, profilefile1W, MAX_PATH);
|
||||||
ok( lstrlenW(profilefile1W) > 0 && lstrlenW(profilefile1W) < MAX_PATH,
|
ok(profilefile1W[0] && lstrlenW(profilefile1W) < MAX_PATH,
|
||||||
"Expected length between 0 and MAX_PATH, got %d\n", lstrlenW(profilefile1W));
|
"Expected length between 0 and MAX_PATH, got %d\n", lstrlenW(profilefile1W));
|
||||||
lstrcpyA(profilefile2, profilefile1);
|
lstrcpyA(profilefile2, profilefile1);
|
||||||
lstrcpyW(profilefile2W, profilefile1W);
|
lstrcpyW(profilefile2W, profilefile1W);
|
||||||
|
|
Loading…
Reference in a new issue