mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
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);
|
||||
|
||||
TRACE("(%p, %p)\n", hIMC, 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);
|
||||
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);
|
||||
|
||||
if (!data)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user