Akihiro Sagawa : imm32: Use wine_dbgstr_rect() and wine_dbgstr_point() in traces.
Module: wine Branch: master Commit: 57510485009bd1d3ce785c2b4aabfb3b5db33335 URL: http://source.winehq.org/git/wine.git/?a=commit;h=57510485009bd1d3ce785c2b4a... Author: Akihiro Sagawa <sagawa.aki(a)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(a)gmail.com> Signed-off-by: Aric Stewart <aric(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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);
participants (1)
-
Alexandre Julliard