imm32: Avoid null pointer dereference in trace.
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
7f8bf3e7bb
commit
29043ff975
|
@ -2408,9 +2408,10 @@ BOOL WINAPI ImmSetCompositionWindow(
|
||||||
InputContextData *data = get_imc_data(hIMC);
|
InputContextData *data = get_imc_data(hIMC);
|
||||||
|
|
||||||
TRACE("(%p, %p)\n", hIMC, lpCompForm);
|
TRACE("(%p, %p)\n", hIMC, lpCompForm);
|
||||||
TRACE("\t%x, (%i,%i), (%i,%i - %i,%i)\n",lpCompForm->dwStyle,
|
if (lpCompForm)
|
||||||
lpCompForm->ptCurrentPos.x, lpCompForm->ptCurrentPos.y, lpCompForm->rcArea.top,
|
TRACE("\t%x, (%i,%i), (%i,%i - %i,%i)\n",lpCompForm->dwStyle,
|
||||||
lpCompForm->rcArea.left, lpCompForm->rcArea.bottom, lpCompForm->rcArea.right);
|
lpCompForm->ptCurrentPos.x, lpCompForm->ptCurrentPos.y, lpCompForm->rcArea.top,
|
||||||
|
lpCompForm->rcArea.left, lpCompForm->rcArea.bottom, lpCompForm->rcArea.right);
|
||||||
|
|
||||||
if (!data)
|
if (!data)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue