Removed unnecessary braces

This commit is contained in:
Ashish Kumar Yadav 2020-07-07 15:44:42 +05:30
parent ac7d3426a6
commit dff4c4c005

View file

@ -284,10 +284,9 @@ int
main(int argc, char *argv[]) main(int argc, char *argv[])
{ {
writepid(); writepid();
if (argc > 2) { if (argc > 2)
if (strcmp("-d", argv[1]) == 0) if (strcmp("-d", argv[1]) == 0)
delim = argv[2]; delim = argv[2];
}
delimlength = strlen(delim) + 1; delimlength = strlen(delim) + 1;
if (!(dpy = XOpenDisplay(NULL))) { if (!(dpy = XOpenDisplay(NULL))) {
fputs("Error: could not open display.\n", stderr); fputs("Error: could not open display.\n", stderr);