and signal right.

SVN revision: 36756
This commit is contained in:
Carsten Haitzler 2008-10-17 14:53:07 +00:00
parent 11bc6d908d
commit 6efd817f14
1 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@ _signal_anchor_up(void *data, Evas_Object *obj, const char *emission, const char
char *buf, *buf2, *p, *p2, *n;
int buflen;
printf("UP %s\n", emission);
p = strchr(emission, ',');
p = strrchr(emission, ',');
if (p)
{
n = p + 1;
@ -167,7 +167,7 @@ _signal_anchor_up(void *data, Evas_Object *obj, const char *emission, const char
buf2 = alloca(5 + p - p2);
strncpy(buf2, p2, p - p2);
buf2[p - p2] = 0;
snprintf(buf, buflen, "anchor,%s,clicked,*s", buf2, n);
snprintf(buf, buflen, "anchor,%s,clicked,%s", buf2, n);
evas_object_smart_callback_call(data, buf, NULL);
}
}