mirror of
https://github.com/reactos/wine.git
synced 2025-02-21 13:23:25 +00:00
shlwapi/tests: Fix some test failures on RTL enabled boxes.
This commit is contained in:
parent
c68589e3dd
commit
93985e70a8
@ -2390,13 +2390,15 @@ static void test_SHCreateWorkerWindowA(void)
|
||||
|
||||
/* test exstyle */
|
||||
ret = GetWindowLongA(hwnd, GWL_EXSTYLE);
|
||||
ok(ret == WS_EX_WINDOWEDGE, "0x%08lx\n", ret);
|
||||
ok(ret == WS_EX_WINDOWEDGE ||
|
||||
ret == (WS_EX_WINDOWEDGE|WS_EX_LAYOUTRTL) /* systems with RTL locale */, "0x%08lx\n", ret);
|
||||
|
||||
DestroyWindow(hwnd);
|
||||
|
||||
hwnd = pSHCreateWorkerWindowA(0, NULL, WS_EX_TOOLWINDOW, 0, 0, 0);
|
||||
ret = GetWindowLongA(hwnd, GWL_EXSTYLE);
|
||||
ok(ret == (WS_EX_WINDOWEDGE|WS_EX_TOOLWINDOW), "0x%08lx\n", ret);
|
||||
ok(ret == (WS_EX_WINDOWEDGE|WS_EX_TOOLWINDOW) ||
|
||||
ret == (WS_EX_WINDOWEDGE|WS_EX_TOOLWINDOW|WS_EX_LAYOUTRTL) /* systems with RTL locale */, "0x%08lx\n", ret);
|
||||
DestroyWindow(hwnd);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user