Removing unecessary code.
authorGustavo Lima Chaves <glima@profusion.mobi>
Tue, 19 Oct 2010 23:08:48 +0000 (23:08 +0000)
committerGustavo Lima Chaves <glima@profusion.mobi>
Tue, 19 Oct 2010 23:08:48 +0000 (23:08 +0000)
SVN revision: 53645

src/lib/elm_hover.c

index e1e0c846feb783e751587b9d59e895c005e264fc..25bd129706ad4d2dc210174023bf34e66acdf13e 100644 (file)
@@ -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;