diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2015-06-29 15:30:36 +0100 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2015-07-07 16:52:18 +0100 |
commit | 38f340b13e693a0d456a9ab22a6474c8f55375fa (patch) | |
tree | f723e5cd01374498d54c1f296f9082fc51cb2f91 /hw/xwin/winmultiwindowwindow.c | |
parent | 732e3b9c08532f40656010eac9d128601cc88c3f (diff) |
hw/xwin: Remove GetTickCount() from various pieces of debugging output
The use of %d format for the DWORD return value of GetTickCount() isn't
portable, but it doesn't seem to be worth fixing it when this information isn't
very useful (and is redundant to the timestamping of log messages we now have)
Instead just remove these uses of GetTickCount()
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
Diffstat (limited to 'hw/xwin/winmultiwindowwindow.c')
-rw-r--r-- | hw/xwin/winmultiwindowwindow.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/hw/xwin/winmultiwindowwindow.c b/hw/xwin/winmultiwindowwindow.c index c22d69074..1ecf0b977 100644 --- a/hw/xwin/winmultiwindowwindow.c +++ b/hw/xwin/winmultiwindowwindow.c @@ -219,8 +219,8 @@ winPositionWindowMultiWindow(WindowPtr pWin, int x, int y) #if CYGMULTIWINDOW_DEBUG lpRc = &rcNew; - ErrorF("winPositionWindowMultiWindow - (%d ms)drawable (%d, %d)-(%d, %d)\n", - GetTickCount(), lpRc->left, lpRc->top, lpRc->right, lpRc->bottom); + ErrorF("winPositionWindowMultiWindow - drawable (%d, %d)-(%d, %d)\n", + lpRc->left, lpRc->top, lpRc->right, lpRc->bottom); #endif /* @@ -237,16 +237,16 @@ winPositionWindowMultiWindow(WindowPtr pWin, int x, int y) GetClientRect(hWnd, &rcClient); lpRc = &rcNew; - ErrorF("winPositionWindowMultiWindow - (%d ms)rcNew (%d, %d)-(%d, %d)\n", - GetTickCount(), lpRc->left, lpRc->top, lpRc->right, lpRc->bottom); + ErrorF("winPositionWindowMultiWindow - rcNew (%d, %d)-(%d, %d)\n", + lpRc->left, lpRc->top, lpRc->right, lpRc->bottom); lpRc = &rcOld; - ErrorF("winPositionWindowMultiWindow - (%d ms)rcOld (%d, %d)-(%d, %d)\n", - GetTickCount(), lpRc->left, lpRc->top, lpRc->right, lpRc->bottom); + ErrorF("winPositionWindowMultiWindow - rcOld (%d, %d)-(%d, %d)\n", + lpRc->left, lpRc->top, lpRc->right, lpRc->bottom); lpRc = &rcClient; - ErrorF("(%d ms)rcClient (%d, %d)-(%d, %d)\n", - GetTickCount(), lpRc->left, lpRc->top, lpRc->right, lpRc->bottom); + ErrorF("rcClient (%d, %d)-(%d, %d)\n", + lpRc->left, lpRc->top, lpRc->right, lpRc->bottom); #endif /* Check if the old rectangle and new rectangle are the same */ |