aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/vkbd/e_kbd_int.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/vkbd/e_kbd_int.c')
-rw-r--r--src/modules/vkbd/e_kbd_int.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/vkbd/e_kbd_int.c b/src/modules/vkbd/e_kbd_int.c
index 218f475d7..a828fd603 100644
--- a/src/modules/vkbd/e_kbd_int.c
+++ b/src/modules/vkbd/e_kbd_int.c
@@ -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)
{