evas_device: Fix typo in evas_device_pop

Summary: Fix wrong null check

Test Plan: N/A

Reviewers: cedric, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10648
This commit is contained in:
junsu choi 2019-11-12 16:23:33 +09:00 committed by Jaehyun Cho
parent 7d97abc05b
commit 04e3d8cc3d
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ evas_device_pop(Evas *eo_e)
Evas_Device *dev;
Evas_Public_Data *e = efl_data_scope_safe_get(eo_e, EVAS_CANVAS_CLASS);
if (e) return ;
if (!e) return ;
dev = eina_array_pop(e->cur_device);
if (dev) efl_unref(dev);
}