X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/2c6be7239f932121b9e4526b01b957fcefc8345a..a92cf496c18189f9cbc7c1d7f8edcebbd1d7ff99:/draw.c diff --git a/draw.c b/draw.c index 16bf805..f7135d7 100644 --- a/draw.c +++ b/draw.c @@ -55,7 +55,7 @@ drawstatus(void) { dc.x = dc.y = 0; for(i = 0; i < ntags; i++) { dc.w = textw(tags[i]); - if(seltag[i]) { + if(seltags[i]) { drawtext(tags[i], dc.sel); drawsquare(sel && sel->tags[i], isoccupied(i), dc.sel); } @@ -66,7 +66,7 @@ drawstatus(void) { dc.x += dc.w; } dc.w = blw; - drawtext(lt->symbol, dc.norm); + drawtext(getsymbol(), dc.norm); x = dc.x + dc.w; dc.w = textw(stext); dc.x = sw - dc.w;