evas_device: Fix typo in evas_device_pop 24/217524/1
authorJunsuChoi <jsuya.choi@samsung.com>
Tue, 12 Nov 2019 07:23:33 +0000 (16:23 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Tue, 12 Nov 2019 07:32:40 +0000 (16:32 +0900)
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

Change-Id: I51c3f152c1ac4f49a0ed1787a656e350415c647e

src/lib/evas/canvas/evas_device.c

index c836931..befe1b6 100644 (file)
@@ -294,7 +294,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);
 }