termio: use memcpy() is enough here

This commit is contained in:
Boris Faure 2022-04-30 15:53:47 +02:00
parent 056b56c55b
commit 5a12ff7b1f
Signed by untrusted user who does not match committer: borisfaure
GPG Key ID: EAA9CD729F522998
1 changed files with 1 additions and 1 deletions

View File

@ -4115,7 +4115,7 @@ _smart_cb_drop(void *data,
if (*p)
{
len = strlen(p);
strncpy(buf, p, len);
memcpy(buf, p, len);
buf[len] = '\0';
if (extn_is_media(buf, len))
evas_object_smart_callback_call(obj, "popup,queue", buf);