user32/tests: Use the caller line number for open_clipboard() & co.
commita21d4fb8e3370e24cff222c132a9b383f3b2ed8c
authorFrancois Gouget <fgouget@codeweavers.com>
Thu, 10 Jun 2021 10:11:16 +0000 (10 12:11 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 11 Jun 2021 16:45:44 +0000 (11 18:45 +0200)
tree0ac7c7a4c389839917a73da960575a31955c040e
parent91a791e5177ac4a529f83262feb973371f1c2d20
user32/tests: Use the caller line number for open_clipboard() & co.

In particular this stops the traces in open_clipboard() and
has_no_open_wnd() from clobbering the line number when used in
expressions such as ok(has_no_open_wnd(), ...).

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/user32/tests/clipboard.c