Browse Source

termio: use memcpy() is enough here

master
Boris Faure 2 months ago
parent
commit
5a12ff7b1f
Signed by untrusted user who does not match committer: borisfaure
GPG Key ID: EAA9CD729F522998
  1. 2
      src/bin/termio.c

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