aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkeikari <34790748+keikari@users.noreply.github.com>2020-08-16 12:21:46 +0300
committerGitHub <noreply@github.com>2020-08-16 12:21:46 +0300
commitd581dae18025f141d401747b8265fa9c84e8445a (patch)
tree3bc3ebb70f823a6479313d20fc671f7e0643554f
parent86d7ae90b7a9f1b9412d18c132c8307b8ee45bd0 (diff)
Update dwmblocks.c
-rw-r--r--dwmblocks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwmblocks.c b/dwmblocks.c
index 2ce251e..2014eee 100644
--- a/dwmblocks.c
+++ b/dwmblocks.c
@@ -178,7 +178,7 @@ int main(int argc, char** argv)
else if(!strcmp("-p",argv[i]))
writestatus = pstdout;
}
- delim = MIN(delimLen, strlen(delim));
+ delimLen = MIN(delimLen, strlen(delim));
delim[delimLen++] = '\0';
signal(SIGTERM, termhandler);
signal(SIGINT, termhandler);