X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/a730213c3b47397c890eea0df7e03e45d5d38b6d..55d8dda9f45503f25804a9dbfeb4c878284a6576:/draw.c?ds=inline diff --git a/draw.c b/draw.c index ce24354..f7135d7 100644 --- a/draw.c +++ b/draw.c @@ -1,6 +1,4 @@ -/* © 2006-2007 Anselm R. Garbe - * © 2006-2007 Sander van Dijk - * See LICENSE file for license details. */ +/* See LICENSE file for copyright and license details. */ #include "dwm.h" #include @@ -57,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); } @@ -68,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;