diff options
-rw-r--r-- | dwmblocks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dwmblocks.c b/dwmblocks.c index e3ac034..63d1547 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))] = '\0'; + delim[MIN(delimLen++, strlen(delim))] = '\0'; signal(SIGTERM, termhandler); signal(SIGINT, termhandler); statusloop(); |