Akihiro Sagawa : imm32: Use wine_dbgstr_rect() and wine_dbgstr_point() in traces.
Alexandre Julliard
julliard at wine.codeweavers.com
Sat May 14 10:07:29 CDT 2016
Module: wine
Branch: master
Commit: 57510485009bd1d3ce785c2b4aabfb3b5db33335
URL: http://source.winehq.org/git/wine.git/?a=commit;h=57510485009bd1d3ce785c2b4aabfb3b5db33335
Author: Akihiro Sagawa <sagawa.aki at gmail.com>
Date: Sun May 8 20:25:11 2016 +0900
imm32: Use wine_dbgstr_rect() and wine_dbgstr_point() in traces.
Signed-off-by: Akihiro Sagawa <sagawa.aki at gmail.com>
Signed-off-by: Aric Stewart <aric at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/imm32/imm.c | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/dlls/imm32/imm.c b/dlls/imm32/imm.c
index 85b1045..3c805dc 100644
--- a/dlls/imm32/imm.c
+++ b/dlls/imm32/imm.c
@@ -2218,11 +2218,10 @@ BOOL WINAPI ImmSetCandidateWindow(
if (IMM_IsCrossThreadAccess(NULL, hIMC))
return FALSE;
- TRACE("\t%x, %x, (%i,%i), (%i,%i - %i,%i)\n",
- lpCandidate->dwIndex, lpCandidate->dwStyle,
- lpCandidate->ptCurrentPos.x, lpCandidate->ptCurrentPos.y,
- lpCandidate->rcArea.top, lpCandidate->rcArea.left,
- lpCandidate->rcArea.bottom, lpCandidate->rcArea.right);
+ TRACE("\t%x, %x, %s, %s\n",
+ lpCandidate->dwIndex, lpCandidate->dwStyle,
+ wine_dbgstr_point(&lpCandidate->ptCurrentPos),
+ wine_dbgstr_rect(&lpCandidate->rcArea));
if ( lpCandidate->dwIndex >= (sizeof(data->IMC.cfCandForm) / sizeof(CANDIDATEFORM)) )
return FALSE;
@@ -2409,9 +2408,9 @@ BOOL WINAPI ImmSetCompositionWindow(
TRACE("(%p, %p)\n", hIMC, lpCompForm);
if (lpCompForm)
- TRACE("\t%x, (%i,%i), (%i,%i - %i,%i)\n",lpCompForm->dwStyle,
- lpCompForm->ptCurrentPos.x, lpCompForm->ptCurrentPos.y, lpCompForm->rcArea.top,
- lpCompForm->rcArea.left, lpCompForm->rcArea.bottom, lpCompForm->rcArea.right);
+ TRACE("\t%x, %s, %s\n", lpCompForm->dwStyle,
+ wine_dbgstr_point(&lpCompForm->ptCurrentPos),
+ wine_dbgstr_rect(&lpCompForm->rcArea));
if (!data)
{
@@ -2534,7 +2533,7 @@ BOOL WINAPI ImmSetStatusWindowPos(HIMC hIMC, LPPOINT lpptPos)
if (IMM_IsCrossThreadAccess(NULL, hIMC))
return FALSE;
- TRACE("\t(%i,%i)\n", lpptPos->x, lpptPos->y);
+ TRACE("\t%s\n", wine_dbgstr_point(lpptPos));
data->IMC.ptStatusWndPos = *lpptPos;
ImmNotifyIME( hIMC, NI_CONTEXTUPDATED, 0, IMC_SETSTATUSWINDOWPOS);
More information about the wine-cvs
mailing list