Changed order of input to strcmp
This commit is contained in:
parent
35f3972aa5
commit
6518005d01
|
@ -287,7 +287,7 @@ main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
writepid();
|
writepid();
|
||||||
if (argc > 2)
|
if (argc > 2)
|
||||||
if (strcmp("-d", argv[1]) == 0)
|
if (strcmp(argv[1], "-d") == 0)
|
||||||
delim = argv[2];
|
delim = argv[2];
|
||||||
delimlength = strlen(delim) + 1;
|
delimlength = strlen(delim) + 1;
|
||||||
if (!(dpy = XOpenDisplay(NULL))) {
|
if (!(dpy = XOpenDisplay(NULL))) {
|
||||||
|
|
Loading…
Reference in a new issue