|
|
@ -94,7 +94,7 @@ drawall()
|
|
|
|
void
|
|
|
|
void
|
|
|
|
drawstatus()
|
|
|
|
drawstatus()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
static const char *mode[] = { "~", "=" };
|
|
|
|
static const char *mode[] = { "~", "|" };
|
|
|
|
int i, x;
|
|
|
|
int i, x;
|
|
|
|
|
|
|
|
|
|
|
|
dc.x = dc.y = 0;
|
|
|
|
dc.x = dc.y = 0;
|
|
|
@ -114,7 +114,7 @@ drawstatus()
|
|
|
|
else
|
|
|
|
else
|
|
|
|
drawtext(tags[i], dc.norm, sel && sel->tags[i]);
|
|
|
|
drawtext(tags[i], dc.norm, sel && sel->tags[i]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
x = dc.x + dc.w;
|
|
|
|
x = dc.x + dc.w + 1;
|
|
|
|
dc.w = textw(stext);
|
|
|
|
dc.w = textw(stext);
|
|
|
|
dc.x = bx + bw - dc.w;
|
|
|
|
dc.x = bx + bw - dc.w;
|
|
|
|
if(dc.x < x) {
|
|
|
|
if(dc.x < x) {
|
|
|
|