Change-Id: I245aa1dcbccfd491b12a51b333873a104b3bffc1
Signed-off-by: VBS <sooyeon.kim@samsung.com>
{
char *temp = NULL;
temp = eina_hash_find(item_command_map, &obj);
- if (NULL != temp && NULL != _command && !strncmp(temp, _command, strlen(temp))) {
+ if (NULL != temp && NULL != _command && !strncmp(temp, _command, strlen(temp) + 1)) {
VC_ELM_LOG_DBG("object_item(%p) already has command(%s)", (void*)obj, temp);
return EINA_FALSE;
}