warn - silence pointless warn with memcpy instead of strncpy

This commit is contained in:
Carsten Haitzler 2019-01-11 16:40:57 +00:00
parent e4948e487c
commit f5901a0940
1 changed files with 1 additions and 1 deletions

View File

@ -715,7 +715,7 @@ _e_kbd_dict_matches_lookup_do(E_Kbd_Dict *kd, Eina_List *letters, char *buf, cha
{
kl = l->data;
len = strlen(kl->letter);
strncpy(bufp, kl->letter, len);
memcpy(bufp, kl->letter, len);
bufp[len] = 0;
if (_e_kbd_dict_find(kd, buf))
{