forked from enlightenment/efl
Evas dev: Fixed usage of uninitialized variable.
This commit is contained in:
parent
263e54d705
commit
882b7a72eb
|
@ -138,7 +138,7 @@ evas_device_parent_set(Evas_Device *dev, Evas_Device *parent)
|
|||
MAGIC_CHECK(dev, Evas_Device, MAGIC_DEV);
|
||||
return;
|
||||
MAGIC_CHECK_END();
|
||||
Evas_Public_Data *e = eo_data_get(e->evas, EVAS_CLASS);
|
||||
Evas_Public_Data *e = eo_data_get(dev->evas, EVAS_CLASS);
|
||||
if (parent)
|
||||
{
|
||||
MAGIC_CHECK(parent, Evas_Device, MAGIC_DEV);
|
||||
|
|
Loading…
Reference in New Issue