aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-03-10 16:08:48 (GMT)
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-03-10 16:08:48 (GMT)
commitc95f3347aebff6050bce74edbb6d254cfceb8a0d (patch)
tree5df91ee168793bf5201fea5e4752fc0e68a1e15b
parentdon't add render update during ignored damage on deleted clients (diff)
downloadenlightenment-c95f3347aebff6050bce74edbb6d254cfceb8a0d.tar.gz
flatten return of strcmp to bool value
-rw-r--r--src/bin/e_comp_object.c2
-rw-r--r--src/modules/wireless/wireless.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index 5db61d5..9d0422a 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -4173,7 +4173,7 @@ _e_comp_object_autoclose_del(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_O
E_API Eina_Bool
e_comp_object_util_autoclose_on_escape(void *d EINA_UNUSED, Ecore_Event_Key *ev)
{
- return strcmp(ev->key, "Escape");
+ return !!strcmp(ev->key, "Escape");
}
E_API void
diff --git a/src/modules/wireless/wireless.c b/src/modules/wireless/wireless.c
index 4102653..58ca034 100644
--- a/src/modules/wireless/wireless.c
+++ b/src/modules/wireless/wireless.c
@@ -507,7 +507,7 @@ _wireless_edit_key(void *d EINA_UNUSED, Ecore_Event_Key *ev)
_wireless_edit_send();
return EINA_FALSE;
}
- return strcmp(ev->key, "Escape");
+ return !!strcmp(ev->key, "Escape");
}
static void