summaryrefslogtreecommitdiff
path: root/specs
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-04-14 20:45:45 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2019-04-16 18:48:18 -0400
commit26e04bcf5714149c8e047af5c5243a9755fe925a (patch)
treecd0180b73743c2001bda9a26232bb5806feb4e4a /specs
parent1882fbe7a1a2f05c9939b40c7c07be83aea77698 (diff)
whitespace/formatting fix
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'specs')
-rw-r--r--specs/CH09.xml16
1 files changed, 8 insertions, 8 deletions
diff --git a/specs/CH09.xml b/specs/CH09.xml
index f89962c..09993a0 100644
--- a/specs/CH09.xml
+++ b/specs/CH09.xml
@@ -1945,24 +1945,24 @@ a function of the particular display (and colormap).
<programlisting>
#define done(type, value) \\
{ \\
- if (toVal-&gt;addr != NULL) { \\
- if (toVal-&gt;size &lt; sizeof(type)) { \\
- toVal-&gt;size = sizeof(type); \\
+ if (toVal-&gt;addr != NULL) { \\
+ if (toVal-&gt;size &lt; sizeof(type)) { \\
+ toVal-&gt;size = sizeof(type); \\
return False; \\
} \\
- *(type*)(toVal-&gt;addr) = (value); \\
+ *(type*)(toVal-&gt;addr) = (value); \\
} \\
else { \\
static type static_val; \\
static_val = (value); \\
- toVal-&gt;addr = (XPointer)&amp;static_val; \\
+ toVal-&gt;addr = (XPointer)&amp;static_val; \\
} \\
- toVal-&gt;size = sizeof(type); \\
+ toVal-&gt;size = sizeof(type); \\
return True; \\
}
static Boolean CvtStringToPixel(
- Display *dpy,
+ Display *dpy,
XrmValue *args,
Cardinal *num_args,
XrmValue *fromVal,
@@ -1972,7 +1972,7 @@ static Boolean CvtStringToPixel(
static XColor screenColor;
XColor exactColor;
Screen *screen;
- Colormap colormap;
+ Colormap colormap;
Status status;
if (*num_args != 2)