warn - make buffer bigger to avoid trunc warn

This commit is contained in:
Carsten Haitzler 2019-01-11 11:51:38 +00:00
parent 3609b56f5d
commit 27c3b0e940
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ _xdg_data_dirs_augment(void)
{ {
const char *s; const char *s;
const char *p = e_prefix_get(); const char *p = e_prefix_get();
char newpath[4096], buf[4096]; char newpath[PATH_MAX], buf[PATH_MAX + PATH_MAX + 200];
if (!p) return; if (!p) return;