X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=draw.c;h=f7135d799cee1bdbc63ac490cba8f7ecfd86127f;hb=36672d0401299a5230b516ca4575365d9f45dd35;hp=2a45cff1100ea8471555435171785da9c3bc9443;hpb=399993c6b5d594278bf822e2981ebfe8bfcb58c7;p=dwm.git diff --git a/draw.c b/draw.c index 2a45cff..f7135d7 100644 --- a/draw.c +++ b/draw.c @@ -1,5 +1,4 @@ -/* © 2004-2007 Anselm R. Garbe - * See LICENSE file for license details. */ +/* See LICENSE file for copyright and license details. */ #include "dwm.h" #include @@ -56,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); } @@ -67,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;