forked from enlightenment/efl
ecore ibus_imcontext: print the value of cursor_pos only when cursor_pos
is not null. This fixes coverity CID 1132624.
This commit is contained in:
parent
9314b15add
commit
0e0f79c6f2
|
@ -426,7 +426,11 @@ ecore_imf_context_ibus_preedit_string_get(Ecore_IMF_Context *ctx,
|
||||||
if (cursor_pos)
|
if (cursor_pos)
|
||||||
*cursor_pos = 0;
|
*cursor_pos = 0;
|
||||||
}
|
}
|
||||||
EINA_LOG_DBG("str : %s, cursor_pos : %d", *str, *cursor_pos);
|
|
||||||
|
if (cursor_pos)
|
||||||
|
EINA_LOG_DBG("str : %s, cursor_pos : %d", *str, *cursor_pos);
|
||||||
|
else
|
||||||
|
EINA_LOG_DBG("str : %s", *str);
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI void
|
EAPI void
|
||||||
|
|
Loading…
Reference in New Issue