Use a more sensible buffer size for flags string.

This commit is contained in:
nicm 2015-04-20 07:50:49 +00:00
parent 8101f1ef16
commit 6f587570ed

View File

@ -650,7 +650,7 @@ window_destroy_panes(struct window *w)
char *
window_printable_flags(struct session *s, struct winlink *wl)
{
char flags[BUFSIZ];
char flags[32];
int pos;
pos = 0;