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:
Jihoon Kim 2013-11-29 13:53:47 +09:00
parent d9e7615a52
commit 50e74f02d4
1 changed files with 1 additions and 1 deletions

View File

@ -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;
child_ee = ecore_evas_data_get(ee, "child");
if (!child_ee)
if (child_ee)
{
if (child_ee->func.fn_msg_handle)
child_ee->func.fn_msg_handle(child_ee, msg_domain, msg_id, data, size);