forked from enlightenment/terminology
termio: use memcpy() is enough here
This commit is contained in:
parent
056b56c55b
commit
5a12ff7b1f
|
@ -4115,7 +4115,7 @@ _smart_cb_drop(void *data,
|
||||||
if (*p)
|
if (*p)
|
||||||
{
|
{
|
||||||
len = strlen(p);
|
len = strlen(p);
|
||||||
strncpy(buf, p, len);
|
memcpy(buf, p, len);
|
||||||
buf[len] = '\0';
|
buf[len] = '\0';
|
||||||
if (extn_is_media(buf, len))
|
if (extn_is_media(buf, len))
|
||||||
evas_object_smart_callback_call(obj, "popup,queue", buf);
|
evas_object_smart_callback_call(obj, "popup,queue", buf);
|
||||||
|
|
Loading…
Reference in New Issue