aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-01-11 16:40:57 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-01-12 01:51:43 +0000
commitf5901a0940c9b5178798a48673dc42ecb6cb3f99 (patch)
treea4268fbadf104c5facc435cccd2754b0c27296f3
parentwarn - make buffer bigger to avoid trunc warn (diff)
downloadenlightenment-f5901a0940c9b5178798a48673dc42ecb6cb3f99.tar.gz
warn - silence pointless warn with memcpy instead of strncpy
-rw-r--r--src/modules/vkbd/e_kbd_dict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/vkbd/e_kbd_dict.c b/src/modules/vkbd/e_kbd_dict.c
index 4a6610a99..83cdf1a69 100644
--- a/src/modules/vkbd/e_kbd_dict.c
+++ b/src/modules/vkbd/e_kbd_dict.c
@@ -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))
{