diff --git a/dwmblocks.c b/dwmblocks.c index 3064ee3..6224fbd 100644 --- a/dwmblocks.c +++ b/dwmblocks.c @@ -35,7 +35,7 @@ static int updatestatus(); static void writepid(); static int statuscontinue = 1; -static char statusstr[STTLENGTH]; +static char statustext[STTLENGTH]; static size_t delimlength; static Display *dpy; static sigset_t blocksigmask; @@ -114,7 +114,7 @@ void setroot() { if (updatestatus()) { - XStoreName(dpy, DefaultRootWindow(dpy), statusstr); + XStoreName(dpy, DefaultRootWindow(dpy), statustext); XSync(dpy, False); } } @@ -203,11 +203,11 @@ termhandler(int signum) statuscontinue = 0; } -/* returns whether block outputs have changed and updates statusstr if they have */ +/* returns whether block outputs have changed and updates statustext if they have */ int updatestatus() { - char *s = statusstr; + char *s = statustext; char *c, *p; /* for cmdoutcur and cmdoutprv */ const char *d; /* for delimiter */ Block *block = blocks;