From c75cdd100946d355af05f27fcb9972be41bccedb Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Wed, 30 Oct 2019 20:07:33 +0100 Subject: Rootless.c: fix linefeeds when printing lists --- nx-X11/programs/Xserver/hw/nxagent/Rootless.c | 10 +++++----- 1 file 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 -- cgit v1.2.3