aboutsummaryrefslogtreecommitdiffstats
path: root/dwmblocks.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dwmblocks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwmblocks.c b/dwmblocks.c
index 773e36f..5d7f6cd 100644
--- a/dwmblocks.c
+++ b/dwmblocks.c
@@ -115,7 +115,7 @@ void getcmd(const Block *block, char *output)
strlcpy(output + i, tmpstr, CMDLENGTH);
remove_all(output, '\n');
i = strlen(output);
- if (i > 0){
+ if (i > 0 && block != &blocks[LENGTH(blocks) - 1]){
strcat(output, postdelim);
}
i += strlen(postdelim);