Update dwmblocks.c
authorkeikari <34790748+keikari@users.noreply.github.com>
Sun, 16 Aug 2020 09:21:46 +0000 (12:21 +0300)
committerGitHub <noreply@github.com>
Sun, 16 Aug 2020 09:21:46 +0000 (12:21 +0300)
dwmblocks.c

index 2ce251e..2014eee 100644 (file)
@@ -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);