e_module: Increase 'body' buffer size

Increase size of body text to eliminate compiler warnings about
truncated strings
This commit is contained in:
Christopher Michael 2020-09-17 12:14:45 -04:00
parent 595babc0eb
commit 43035f34f7
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ e_module_new(const char *name)
{ {
E_Module *m; E_Module *m;
char buf[PATH_MAX]; char buf[PATH_MAX];
char body[4096], title[1024]; char body[PATH_MAX + 256], title[1024];
const char *modpath = NULL; const char *modpath = NULL;
char *s; char *s;
int in_list = 0; int in_list = 0;