aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Rootless.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-10-30 20:07:33 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-11-15 12:17:20 +0100
commitc75cdd100946d355af05f27fcb9972be41bccedb (patch)
tree60c89536268644136aaa190c5e4d1266ade0688f /nx-X11/programs/Xserver/hw/nxagent/Rootless.c
parent9e5d72c0e936cd941e8415249479651dcce4f3ac (diff)
downloadnx-libs-c75cdd100946d355af05f27fcb9972be41bccedb.tar.gz
nx-libs-c75cdd100946d355af05f27fcb9972be41bccedb.tar.bz2
nx-libs-c75cdd100946d355af05f27fcb9972be41bccedb.zip
Rootless.c: fix linefeeds when printing lists
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Rootless.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Rootless.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Rootless.c b/nx-X11/programs/Xserver/hw/nxagent/Rootless.c
index 56f1f72fa..006fd28d9 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Rootless.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Rootless.c
@@ -316,14 +316,14 @@ void nxagentRootlessRestack(unsigned long children[], unsigned int nchildren)
#ifdef DEBUG
- fprintf(stderr, "%s: External top level windows before restack:", __func__);
+ fprintf(stderr, "%s: External top level windows before restack:\n", __func__);
for (i = 0; i < ntoplevel; i++)
{
fprintf(stderr, "%s: [%p]\n", __func__, (void *)toplevel[i]);
}
- fprintf(stderr, "%s: Internal top level windows before restack:", __func__);
+ fprintf(stderr, "%s: Internal top level windows before restack:\n", __func__);
for (WindowPtr pWin = screenInfo.screens[0]->root -> firstChild; pWin != NULL; pWin = pWin -> nextSib)
{
@@ -358,16 +358,16 @@ void nxagentRootlessRestack(unsigned long children[], unsigned int nchildren)
#ifdef DEBUG
- fprintf(stderr, "%s: External top level windows after restack:", __func__);
ntoplevel = i; /* FIXME: is this correct? */
+ fprintf(stderr, "%s: External top level windows after restack:\n", __func__);
for (i = 0; i < ntoplevel; i++)
{
fprintf(stderr, "%s: [%p]\n", __func__, (void *)toplevel[i]);
}
- fprintf(stderr, "%s: Internal top level windows after restack:", __func__);
+ fprintf(stderr, "%s: Internal top level windows after restack:\n", __func__);
for (pWin = screenInfo.screens[0]->root -> firstChild; pWin != NULL; pWin = pWin -> nextSib)
{
@@ -1133,7 +1133,7 @@ void nxagentRemovePropertyFromList(void)
struct nxagentPropertyRec *tmp = nxagentPropertyList.first;
#ifdef TEST
- fprintf(stderr, "%s: Property [%d] on Window [0x%x] to list, list size is [%d].\n\n", __func__,
+ fprintf(stderr, "%s: Property [%d] on Window [0x%x] to list, list size is [%d].\n", __func__,
nxagentPropertyList.first -> property, nxagentPropertyList.first -> window,
nxagentPropertyList.size);
#endif