From 954d6a0463faf251794deb99f4a864cebdd75a96 Mon Sep 17 00:00:00 2001 From: zmike Date: Mon, 6 Jan 2014 08:16:44 -0500 Subject: [PATCH] I cleverly added a comment stating that this #if wasn't a typo ...it was a typo --- src/bin/termio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/termio.c b/src/bin/termio.c index e8569899..ea33ad2c 100644 --- a/src/bin/termio.c +++ b/src/bin/termio.c @@ -560,7 +560,7 @@ _update_link(Evas_Object *obj, Termio *sd, _y += sd->mouse.cy * sd->font.chh; #if (ELM_VERSION_MAJOR > 1) || (ELM_VERSION_MINOR >= 8) xwin = elm_win_window_id_get(sd->win); -# if (ELM_VERSION_MAJOR > 1) || (ELM_VERSION_MINOR > 8) // not a typo +# if (ELM_VERSION_MAJOR > 1) || ((ELM_VERSION_MAJOR == 1) && (ELM_VERSION_MINOR > 8)) // not a typo if (strstr(ecore_evas_engine_name_get(ecore_evas_ecore_evas_get(evas_object_evas_get(sd->win))), "wayland")) xwin = ((uint64_t)xwin << 32) + (uint64_t)getpid(); # endif @@ -634,7 +634,7 @@ _remove_links(Termio *sd, Evas_Object *obj) oy += sd->mouse.cy * sd->font.chh; #if (ELM_VERSION_MAJOR > 1) || (ELM_VERSION_MINOR >= 8) xwin = elm_win_window_id_get(sd->win); -# if (ELM_VERSION_MAJOR > 1) || (ELM_VERSION_MINOR > 8) // not a typo +# if (ELM_VERSION_MAJOR > 1) || ((ELM_VERSION_MAJOR == 1) && (ELM_VERSION_MINOR > 8)) // not a typo if (strstr(ecore_evas_engine_name_get(ecore_evas_ecore_evas_get(evas_object_evas_get(sd->win))), "wayland")) xwin = ((uint64_t)xwin << 32) + (uint64_t)getpid(); # endif