Removed unnecessary printf from xgetrootname.c
This commit is contained in:
parent
778a2ff3b0
commit
41bc318526
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue