Removed unnecessary printf from xgetrootname.c

This commit is contained in:
Ashish Kumar Yadav 2020-12-05 04:19:53 +05:30
parent 778a2ff3b0
commit 41bc318526

View file

@ -12,7 +12,7 @@ main()
return 1;
}
if (XFetchName(dpy, DefaultRootWindow(dpy), &name) && name[0])
printf("%s\n", name);
puts(name);
else
fputs("No name has been set for the root window.\n", stderr);
XFree(name);