diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2019-04-14 20:45:45 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2019-04-16 18:48:18 -0400 |
commit | 26e04bcf5714149c8e047af5c5243a9755fe925a (patch) | |
tree | cd0180b73743c2001bda9a26232bb5806feb4e4a /specs | |
parent | 1882fbe7a1a2f05c9939b40c7c07be83aea77698 (diff) |
whitespace/formatting fix
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'specs')
-rw-r--r-- | specs/CH09.xml | 16 |
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->addr != NULL) { \\ - if (toVal->size < sizeof(type)) { \\ - toVal->size = sizeof(type); \\ + if (toVal->addr != NULL) { \\ + if (toVal->size < sizeof(type)) { \\ + toVal->size = sizeof(type); \\ return False; \\ } \\ - *(type*)(toVal->addr) = (value); \\ + *(type*)(toVal->addr) = (value); \\ } \\ else { \\ static type static_val; \\ static_val = (value); \\ - toVal->addr = (XPointer)&static_val; \\ + toVal->addr = (XPointer)&static_val; \\ } \\ - toVal->size = sizeof(type); \\ + toVal->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) |