From: Enlightenment S. <no-...@en...> - 2010-10-19 23:08:55
|
Log: Removing unecessary code. Author: glima Date: 2010-10-19 16:08:48 -0700 (Tue, 19 Oct 2010) New Revision: 53645 Modified: trunk/TMP/st/elementary/src/lib/elm_hover.c Modified: trunk/TMP/st/elementary/src/lib/elm_hover.c =================================================================== --- trunk/TMP/st/elementary/src/lib/elm_hover.c 2010-10-19 20:21:53 UTC (rev 53644) +++ trunk/TMP/st/elementary/src/lib/elm_hover.c 2010-10-19 23:08:48 UTC (rev 53645) @@ -718,7 +718,7 @@ if (!wd) return; - if (!strncmp(swallow, "smart", sizeof("smart"))) + if (!strcmp(swallow, "smart")) { if (wd->smt_sub != content) { @@ -748,7 +748,7 @@ 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; |