shlwapi/tests: Use a codepage that is supported on all platforms.
This commit is contained in:
parent
50ff549420
commit
8fc42993a1
@ -746,7 +746,7 @@ static void test_UrlCanonicalizeW(void)
|
|||||||
BOOL choped;
|
BOOL choped;
|
||||||
int pos;
|
int pos;
|
||||||
|
|
||||||
MultiByteToWideChar(CP_UTF8, 0, "http://www.winehq.org/X", -1, szUrl, 128);
|
MultiByteToWideChar(CP_ACP, 0, "http://www.winehq.org/X", -1, szUrl, 128);
|
||||||
pos = lstrlenW(szUrl) - 1;
|
pos = lstrlenW(szUrl) - 1;
|
||||||
szUrl[pos] = i;
|
szUrl[pos] = i;
|
||||||
urllen = INTERNET_MAX_URL_LENGTH;
|
urllen = INTERNET_MAX_URL_LENGTH;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user