Re: comctl32/tests: Fix failures for 120DPI display
20 Jan
2011
20 Jan
'11
6:19 a.m.
On 1/20/2011 13:40, Greg Geldorp wrote:
--- dlls/comctl32/tests/listview.c | 5 +++-- dlls/comctl32/tests/rebar.c | 2 +- dlls/comctl32/tests/treeview.c | 4 ++++ 3 files changed, 8 insertions(+), 3 deletions(-) @@ -4163,7 +4163,8 @@ static void test_getcolumnwidth(void) SendMessage(hwnd, LVM_INSERTITEMA, 0, (LPARAM)&itema); ret = SendMessage(hwnd, LVM_GETCOLUMNWIDTH, 0, 0); hdc = GetDC(hwnd); - todo_wine expect(GetDeviceCaps(hdc, LOGPIXELSX), ret); +trace("ggeldorp %d %d\n", GetDeviceCaps(hdc, LOGPIXELSX), ret); + todo_wine expect(((GetDeviceCaps(hdc, LOGPIXELSX) + 15) / 16) * 16, ret); ReleaseDC(hwnd, hdc); DestroyWindow(hwnd); } Minor thing, you forgot to remove a trace.
5437
Age (days ago)
5437
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nikolay Sivov