Infobar: Set buffers size to MAXSS
This commit is contained in:
parent
6f1624f43b
commit
888b2a7467
@ -174,10 +174,10 @@ void
|
||||
infobar_draw_statustext(int sc, char *str)
|
||||
{
|
||||
/* str without \b[;;;;]\ blocks and str without colorsblocks * */
|
||||
char strwb[512] = { 0 };
|
||||
char strwc[512] = { 0 };
|
||||
char strwb[MAXSS] = { 0 };
|
||||
char strwc[MAXSS] = { 0 };
|
||||
|
||||
char buf[512] = { 0 };
|
||||
char buf[MAXSS] = { 0 };
|
||||
char as, col[8] = { 0 };
|
||||
int i, j, c, k = 0, b = 0;
|
||||
uint bp[64][5] = { {0} };
|
||||
|
||||
@ -87,6 +87,7 @@
|
||||
#define DEF_CONF ".config/wmfs/wmfsrc"
|
||||
#define DEF_STATUS ".config/wmfs/status.sh"
|
||||
#define PAD conf.pad
|
||||
#define MAXSS 4096
|
||||
|
||||
#define CWIN(win, parent, x, y, w, h, b, mask, col, at) \
|
||||
do { \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user