forked from enlightenment/efl
ecore_evas: fix wrong check in _ecore_evas_buffer_msg_send
'if (!child_ee)' implies that "child_ee" is equal to NULL, but child_ee is used in the nest of if statement. This fixes CID 1039431
This commit is contained in:
parent
d9e7615a52
commit
50e74f02d4
|
@ -507,7 +507,7 @@ _ecore_evas_buffer_msg_send(Ecore_Evas *ee, int msg_domain, int msg_id, void *da
|
||||||
Ecore_Evas *child_ee = NULL;
|
Ecore_Evas *child_ee = NULL;
|
||||||
child_ee = ecore_evas_data_get(ee, "child");
|
child_ee = ecore_evas_data_get(ee, "child");
|
||||||
|
|
||||||
if (!child_ee)
|
if (child_ee)
|
||||||
{
|
{
|
||||||
if (child_ee->func.fn_msg_handle)
|
if (child_ee->func.fn_msg_handle)
|
||||||
child_ee->func.fn_msg_handle(child_ee, msg_domain, msg_id, data, size);
|
child_ee->func.fn_msg_handle(child_ee, msg_domain, msg_id, data, size);
|
||||||
|
|
Loading…
Reference in New Issue