From: Gustavo Lima Chaves Date: Tue, 19 Oct 2010 23:08:48 +0000 (+0000) Subject: Removing unecessary code. X-Git-Tag: v1.0.0~4009 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=69dee1f691548874f1530fda6a767380be61b02c;p=platform%2Fupstream%2Felementary.git Removing unecessary code. SVN revision: 53645 --- diff --git a/src/lib/elm_hover.c b/src/lib/elm_hover.c index e1e0c846f..25bd12970 100644 --- a/src/lib/elm_hover.c +++ b/src/lib/elm_hover.c @@ -718,7 +718,7 @@ elm_hover_content_set(Evas_Object *obj, const char *swallow, Evas_Object *conten if (!wd) return; - if (!strncmp(swallow, "smart", sizeof("smart"))) + if (!strcmp(swallow, "smart")) { if (wd->smt_sub != content) { @@ -748,7 +748,7 @@ elm_hover_content_set(Evas_Object *obj, const char *swallow, Evas_Object *conten ELM_HOVER_PARTS_FOREACH { - if (!strncmp(swallow, wd->subs[i].swallow, 1024)) + if (!strcmp(swallow, wd->subs[i].swallow)) { if (content == wd->subs[i].obj) return;