warn - make buffer bigger to avoid trunc warn

devs/devilhorns/rotation
Carsten Haitzler 4 years ago
parent b11dd17594
commit 25b5d5401c
  1. 4
      src/bin/e_desktop_editor.c

@ -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;

Loading…
Cancel
Save