X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=draw.c;h=f7135d799cee1bdbc63ac490cba8f7ecfd86127f;hp=175017b0698b1604d3d4613beddb8bc9f337458f;hb=86953bd68249662b5d7a9ae6741744ab8bf30aa1;hpb=a686c9ccd293efd543b84c137d91fbeb0f95a621 diff --git a/draw.c b/draw.c index 175017b..f7135d7 100644 --- a/draw.c +++ b/draw.c @@ -1,6 +1,4 @@ -/* (C)opyright MMVI-MMVII Anselm R. Garbe - * 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;