From 01f1481f54ccd1a362a108457eb1bc8e2d530087 Mon Sep 17 00:00:00 2001 From: Ashish Kumar Yadav Date: Wed, 25 Nov 2020 01:37:36 +0530 Subject: [PATCH] Renamed statusstr to statustext --- dwmblocks.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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;