Text width calculations when using status2d strings resulted in statuscmd button placement calculations to be way off. Fixed by introducing a separate function status2dtextlength to get an approximate correct text width.
2 lines
119 B
C
2 lines
119 B
C
static int drawstatusbar(Monitor *m, int bh, char* text, int stw, int stp);
|
|
static int status2dtextlength(char* stext); |