From 81538ebb6dd4bed43006084a1514c1c96095a712 Mon Sep 17 00:00:00 2001 From: Hadrien Boizard Date: Wed, 6 Jul 2016 00:54:09 +0200 Subject: [PATCH] winex11.drv: Use wine_dbgstr_point in TRACES. Signed-off-by: Hadrien Boizard Signed-off-by: Alexandre Julliard --- dlls/winex11.drv/mouse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c index 677acfa0b9b..72877534e1c 100644 --- a/dlls/winex11.drv/mouse.c +++ b/dlls/winex11.drv/mouse.c @@ -1388,7 +1388,7 @@ BOOL CDECL X11DRV_GetCursorPos(LPPOINT pos) { POINT old = *pos; *pos = root_to_virtual_screen( winX, winY ); - TRACE( "pointer at (%d,%d) server pos %d,%d\n", pos->x, pos->y, old.x, old.y ); + TRACE( "pointer at %s server pos %s\n", wine_dbgstr_point(pos), wine_dbgstr_point(&old) ); } return ret; } @@ -1458,7 +1458,7 @@ void move_resize_window( HWND hwnd, int dir ) else if (GetKeyState( VK_MBUTTON ) & 0x8000) button = 2; else if (GetKeyState( VK_RBUTTON ) & 0x8000) button = 3; - TRACE( "hwnd %p/%lx, x %d, y %d, dir %d, button %d\n", hwnd, win, pos.x, pos.y, dir, button ); + TRACE( "hwnd %p/%lx, pos %s, dir %d, button %d\n", hwnd, win, wine_dbgstr_point(&pos), dir, button ); xev.xclient.type = ClientMessage; xev.xclient.window = win;