user32/tests: Improved an error message.
This commit is contained in:
parent
a50deff4be
commit
4cfb1e6952
|
@ -5195,11 +5195,15 @@ static void test_fullscreen(void)
|
||||||
todo_wine
|
todo_wine
|
||||||
ok(rc.left >= mi.rcWork.left && rc.top <= mi.rcWork.top &&
|
ok(rc.left >= mi.rcWork.left && rc.top <= mi.rcWork.top &&
|
||||||
rc.right <= mi.rcWork.right && rc.bottom <= mi.rcWork.bottom,
|
rc.right <= mi.rcWork.right && rc.bottom <= mi.rcWork.bottom,
|
||||||
"%#x/%#x: window rect %d,%d-%d,%d\n", ex_style, style, rc.left, rc.top, rc.right, rc.bottom);
|
"%#x/%#x: window rect %d,%d-%d,%d must be in %d,%d-%d,%d\n",
|
||||||
|
ex_style, style, rc.left, rc.top, rc.right, rc.bottom,
|
||||||
|
mi.rcWork.left, mi.rcWork.top, mi.rcWork.right, mi.rcWork.bottom);
|
||||||
else
|
else
|
||||||
ok(rc.left >= mi.rcWork.left && rc.top <= mi.rcWork.top &&
|
ok(rc.left >= mi.rcWork.left && rc.top <= mi.rcWork.top &&
|
||||||
rc.right <= mi.rcWork.right && rc.bottom <= mi.rcWork.bottom,
|
rc.right <= mi.rcWork.right && rc.bottom <= mi.rcWork.bottom,
|
||||||
"%#x/%#x: window rect %d,%d-%d,%d\n", ex_style, style, rc.left, rc.top, rc.right, rc.bottom);
|
"%#x/%#x: window rect %d,%d-%d,%d must be in %d,%d-%d,%d\n",
|
||||||
|
ex_style, style, rc.left, rc.top, rc.right, rc.bottom,
|
||||||
|
mi.rcWork.left, mi.rcWork.top, mi.rcWork.right, mi.rcWork.bottom);
|
||||||
DestroyWindow(hwnd);
|
DestroyWindow(hwnd);
|
||||||
|
|
||||||
style = t_style[i] | WS_MAXIMIZE | WS_MAXIMIZEBOX;
|
style = t_style[i] | WS_MAXIMIZE | WS_MAXIMIZEBOX;
|
||||||
|
|
Loading…
Reference in New Issue