Commit 450760bc authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Events.c: improve Bool usage

parent 7f7895ee
...@@ -373,7 +373,7 @@ void nxagentRemoteWindowID(Window window, Bool newline) ...@@ -373,7 +373,7 @@ void nxagentRemoteWindowID(Window window, Bool newline)
} }
} }
if (newline == TRUE) if (newline)
{ {
fprintf(stderr, "\n"); fprintf(stderr, "\n");
} }
...@@ -411,7 +411,7 @@ void nxagentRemoteWindowInfo(Window win, int indent, Bool newLine) ...@@ -411,7 +411,7 @@ void nxagentRemoteWindowInfo(Window win, int indent, Bool newLine)
(attributes.override_redirect == 0) ? (attributes.override_redirect == 0) ?
"No" : "Yes" ); "No" : "Yes" );
if (newLine == TRUE) if (newLine)
{ {
fprintf(stderr, "\n"); fprintf(stderr, "\n");
} }
...@@ -537,7 +537,7 @@ void nxagentInternalWindowInfo(WindowPtr pWin, int indent, Bool newLine) ...@@ -537,7 +537,7 @@ void nxagentInternalWindowInfo(WindowPtr pWin, int indent, Bool newLine)
(pWin -> overrideRedirect == 0) ? (pWin -> overrideRedirect == 0) ?
"No" : "Yes"); "No" : "Yes");
if (newLine == TRUE) if (newLine)
{ {
fprintf(stderr, "\n"); fprintf(stderr, "\n");
} }
...@@ -4061,8 +4061,7 @@ void nxagentHandleCollectPropertyEvent(XEvent *X) ...@@ -4061,8 +4061,7 @@ void nxagentHandleCollectPropertyEvent(XEvent *X)
nxagentImportProperty(window, property, atomReturnType, resultFormat, nxagentImportProperty(window, property, atomReturnType, resultFormat,
ulReturnItems, ulReturnBytesLeft, pszReturnData); ulReturnItems, ulReturnBytesLeft, pszReturnData);
} }
else
if (result == 0)
{ {
#ifdef DEBUG #ifdef DEBUG
fprintf (stderr, "nxagentHandleCollectPropertyEvent: Failed to get reply data for client [%d].\n", fprintf (stderr, "nxagentHandleCollectPropertyEvent: Failed to get reply data for client [%d].\n",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment