Hadrien Boizard : comctl32: Use wine_dbgstr_point in TRACES.
Alexandre Julliard
julliard at winehq.org
Tue Nov 22 16:34:01 CST 2016
Module: wine
Branch: master
Commit: 891540436ff8d2a099e5dbe04d4e57ade9d1b905
URL: http://source.winehq.org/git/wine.git/?a=commit;h=891540436ff8d2a099e5dbe04d4e57ade9d1b905
Author: Hadrien Boizard <h.boizard at gmail.com>
Date: Tue Nov 22 00:38:39 2016 +0100
comctl32: Use wine_dbgstr_point in TRACES.
Signed-off-by: Hadrien Boizard <h.boizard at gmail.com>
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/comctl32/datetime.c | 2 +-
dlls/comctl32/monthcal.c | 2 +-
dlls/comctl32/rebar.c | 2 +-
dlls/comctl32/tooltips.c | 2 +-
dlls/comctl32/trackbar.c | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dlls/comctl32/datetime.c b/dlls/comctl32/datetime.c
index 86435ca..80b800e 100644
--- a/dlls/comctl32/datetime.c
+++ b/dlls/comctl32/datetime.c
@@ -816,7 +816,7 @@ DATETIME_HitTest (const DATETIME_INFO *infoPtr, POINT pt)
{
int i;
- TRACE ("%d, %d\n", pt.x, pt.y);
+ TRACE ("%s\n", wine_dbgstr_point(&pt));
if (PtInRect (&infoPtr->calbutton, pt)) return DTHT_MCPOPUP;
if (PtInRect (&infoPtr->checkbox, pt)) return DTHT_CHECKBOX;
diff --git a/dlls/comctl32/monthcal.c b/dlls/comctl32/monthcal.c
index 0fef638..6a10860 100644
--- a/dlls/comctl32/monthcal.c
+++ b/dlls/comctl32/monthcal.c
@@ -2170,7 +2170,7 @@ MONTHCAL_LButtonDown(MONTHCAL_INFO *infoPtr, LPARAM lParam)
hit = MONTHCAL_HitTest(infoPtr, &ht);
- TRACE("%x at (%d, %d)\n", hit, ht.pt.x, ht.pt.y);
+ TRACE("%x at %s\n", hit, wine_dbgstr_point(&ht.pt));
switch(hit)
{
diff --git a/dlls/comctl32/rebar.c b/dlls/comctl32/rebar.c
index 752f870..ca6f50d 100644
--- a/dlls/comctl32/rebar.c
+++ b/dlls/comctl32/rebar.c
@@ -3321,7 +3321,7 @@ REBAR_NCHitTest (const REBAR_INFO *infoPtr, LPARAM lParam)
ret, i);
ret = (LRESULT) i;
}
- TRACE("returning %ld, client point (%d,%d)\n", ret, clpt.x, clpt.y);
+ TRACE("returning %ld, client point %s\n", ret, wine_dbgstr_point(&clpt));
return ret;
}
diff --git a/dlls/comctl32/tooltips.c b/dlls/comctl32/tooltips.c
index 4944e3b..56dc743 100644
--- a/dlls/comctl32/tooltips.c
+++ b/dlls/comctl32/tooltips.c
@@ -1523,7 +1523,7 @@ TOOLTIPS_RelayEvent (TOOLTIPS_INFO *infoPtr, LPMSG lpMsg)
&pt);
TRACE("tool (%p) %d %d %d\n", infoPtr->hwndSelf, nOldTool,
infoPtr->nTool, infoPtr->nCurrentTool);
- TRACE("WM_MOUSEMOVE (%p %d %d)\n", infoPtr->hwndSelf, pt.x, pt.y);
+ TRACE("WM_MOUSEMOVE (%p %s)\n", infoPtr->hwndSelf, wine_dbgstr_point(&pt));
if (infoPtr->nTool != nOldTool) {
if(infoPtr->nTool == -1) { /* Moved out of all tools */
diff --git a/dlls/comctl32/trackbar.c b/dlls/comctl32/trackbar.c
index 26f5cdc..5ce32e4 100644
--- a/dlls/comctl32/trackbar.c
+++ b/dlls/comctl32/trackbar.c
@@ -450,7 +450,7 @@ TRACKBAR_AutoPage (TRACKBAR_INFO *infoPtr, POINT clickPoint)
LONG dir = TRACKBAR_GetAutoPageDirection(infoPtr, clickPoint);
LONG prevPos = infoPtr->lPos;
- TRACE("x=%d, y=%d, dir=%d\n", clickPoint.x, clickPoint.y, dir);
+ TRACE("clickPoint=%s, dir=%d\n", wine_dbgstr_point(&clickPoint), dir);
if (dir > 0 && (infoPtr->flags & TB_AUTO_PAGE_RIGHT))
TRACKBAR_PageDown(infoPtr);
More information about the wine-cvs
mailing list