imm32: Use wine_dbgstr_rect() and wine_dbgstr_point() in traces.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com> Signed-off-by: Aric Stewart <aric@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
29043ff975
commit
5751048500
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue