[conform] use proper condition

SVN revision: 82451
This commit is contained in:
Shinwoo Kim 2013-01-09 11:17:08 +00:00
parent fbd2af0ca1
commit 75c47c7ebb
1 changed files with 2 additions and 1 deletions

View File

@ -268,7 +268,8 @@ _port_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->port_indi_timer = NULL;
return ECORE_CALLBACK_CANCEL;