mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +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
1 changed files with 4 additions and 3 deletions
|
@ -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 a new issue