warn - make buffer bigger to avoid trunc warn

This commit is contained in:
Carsten Haitzler 2019-01-11 16:42:46 +00:00
parent f5901a0940
commit df5147a838
1 changed files with 2 additions and 2 deletions

View File

@ -1100,7 +1100,7 @@ _e_kbd_int_layouts_list_update(E_Kbd_Int *ki)
{
Eina_List *files;
Eina_List *l;
char buf[PATH_MAX], *file, *path;
char buf[PATH_MAX + 100], *file, *path;
const char *fl;
Eina_List *kbs = NULL, *layouts = NULL;
int ok;
@ -1192,7 +1192,7 @@ _e_kbd_int_layouts_list_update(E_Kbd_Int *ki)
while (fgets(buf, sizeof(buf), f))
{
char str[4096];
char str[PATH_MAX];
if (!isok)
{