Module: wine Branch: master Commit: 635bb1104927c55763053063a69faaaff9022b22 URL: http://source.winehq.org/git/wine.git/?a=commit;h=635bb1104927c55763053063a6... Author: Dmitry Timoshkov <dmitry(a)codeweavers.com> Date: Sun Jan 14 20:17:07 2007 +0800 winex11.drv: Fix the typos in the fullscreen state debug trace. --- dlls/winex11.drv/winpos.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dlls/winex11.drv/winpos.c b/dlls/winex11.drv/winpos.c index 4a5a03b..95afc40 100644 --- a/dlls/winex11.drv/winpos.c +++ b/dlls/winex11.drv/winpos.c @@ -190,7 +190,7 @@ static void update_fullscreen_state( Dis { XEvent xev; - TRACE("setting fullscreen state for window %ld to %s\n", win, new_fs_state ? "true" : "false"); + TRACE("setting fullscreen state for window %lx to %s\n", win, new_fs_state ? "true" : "false"); xev.xclient.type = ClientMessage; xev.xclient.window = win; @@ -229,10 +229,11 @@ static BOOL fullscreen_state_changed( co *new_fs_state = TRUE; #if 0 /* useful to debug fullscreen state problems */ - TRACE("old rect %s, new rect %s, old screen %s, new screen (0,0-%d,%d)\n", + TRACE("hwnd %p, old rect %s, new rect %s, old screen %s, new screen (0,0-%d,%d)\n", + data->hwnd, wine_dbgstr_rect(old_client_rect), wine_dbgstr_rect(&data->client_rect), wine_dbgstr_rect(old_screen_rect), screen_width, screen_height); - TRACE("old fs state %d\n, new fs state = %d\n", old_fs_state, new_fs_state); + TRACE("old fs state %d\n, new fs state = %d\n", old_fs_state, *new_fs_state); #endif return *new_fs_state != old_fs_state; }