From e301666c65b3eacdaecb581f7322dbd2b6a8d3a1 Mon Sep 17 00:00:00 2001 From: Shinwoo Kim Date: Wed, 9 Jan 2013 11:24:11 +0000 Subject: [PATCH] [conform] use proper condition, again. SVN revision: 82452 --- legacy/elementary/src/lib/elm_conform.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/legacy/elementary/src/lib/elm_conform.c b/legacy/elementary/src/lib/elm_conform.c index a77d177c3f..e96b06693f 100644 --- a/legacy/elementary/src/lib/elm_conform.c +++ b/legacy/elementary/src/lib/elm_conform.c @@ -299,7 +299,8 @@ _land_indicator_connect_cb(void *data) Elm_Conformant_Smart_Data *sd = data; int rot; - if (!sd || (sd->indmode != ELM_WIN_INDICATOR_SHOW)) + if (!sd) return ECORE_CALLBACK_CANCEL; + if (sd->indmode != ELM_WIN_INDICATOR_SHOW) { sd->land_indi_timer = NULL; return ECORE_CALLBACK_CANCEL;