Skip to content

Commit

Permalink
Update dwmblocks.c
Browse files Browse the repository at this point in the history
  • Loading branch information
keikari authored Aug 16, 2020
1 parent 0bd4575 commit 86d7ae9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dwmblocks.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ 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));
delim[delimLen++] = '\0';
signal(SIGTERM, termhandler);
signal(SIGINT, termhandler);
statusloop();
Expand Down

0 comments on commit 86d7ae9

Please sign in to comment.