termio: use memcpy() is enough here

pull/4/head
Boris Faure 4 months ago
parent 056b56c55b
commit 5a12ff7b1f
Signed by: borisfaure
GPG Key ID: EAA9CD729F522998
  1. 2
      src/bin/termio.c

@ -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);

Loading…
Cancel
Save