warn - make buffer bigger to avoid trunc warn

This commit is contained in:
Carsten Haitzler 2019-01-11 11:23:48 +00:00
parent b11dd17594
commit 25b5d5401c
1 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ e_desktop_client_create(E_Client *ec)
Efreet_Desktop *desktop = NULL;
const char *desktop_dir, *icon_dir;
const char *bname, *bclass, *btitle;
char path[PATH_MAX];
char path[PATH_MAX + PATH_MAX + 2];
bname = ec->icccm.name;
if ((bname) && (bname[0] == 0)) bname = NULL;
@ -295,7 +295,7 @@ _e_desktop_edit_create_data(E_Config_Dialog *cfd)
{
E_Config_Dialog_Data *cfdata;
Efreet_Desktop *desktop = NULL;
char path[PATH_MAX];
char path[PATH_MAX + PATH_MAX + 2];
cfdata = E_NEW(E_Config_Dialog_Data, 1);
if (!cfdata) return NULL;