diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2019-04-15 17:13:05 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2019-04-16 18:48:58 -0400 |
commit | cbf4dd22eedc33309efacfb2a1a795debdd44b3b (patch) | |
tree | 1482e541ab88ad2d69ef98148f7c123de5c53dfb /specs/CH09.xml | |
parent | 1474d2e826773f3f5aa61ef2ad827c977ee5d084 (diff) |
trim spurious backslashes from translation of nroff to docbook xml
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'specs/CH09.xml')
-rw-r--r-- | specs/CH09.xml | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/specs/CH09.xml b/specs/CH09.xml index 09993a0..27591b6 100644 --- a/specs/CH09.xml +++ b/specs/CH09.xml @@ -1573,7 +1573,7 @@ Alphabetic case is not significant in the conversion. The String-to-CommandArgArray conversion parses a String into an array of strings. White space characters separate elements of the command line. -The converter recognizes the backslash character “\\” as an escape +The converter recognizes the backslash character “\” as an escape character to allow the following white space character to be part of the array element. </para> @@ -1943,22 +1943,22 @@ a function of the particular display (and colormap). </para> <programlisting> -#define done(type, value) \\ - { \\ - if (toVal->addr != NULL) { \\ - if (toVal->size < sizeof(type)) { \\ - toVal->size = sizeof(type); \\ - return False; \\ - } \\ - *(type*)(toVal->addr) = (value); \\ - } \\ - else { \\ - static type static_val; \\ - static_val = (value); \\ - toVal->addr = (XPointer)&static_val; \\ - } \\ - toVal->size = sizeof(type); \\ - return True; \\ +#define done(type, value) \ + { \ + if (toVal->addr != NULL) { \ + if (toVal->size < sizeof(type)) { \ + toVal->size = sizeof(type); \ + return False; \ + } \ + *(type*)(toVal->addr) = (value); \ + } \ + else { \ + static type static_val; \ + static_val = (value); \ + toVal->addr = (XPointer)&static_val; \ + } \ + toVal->size = sizeof(type); \ + return True; \ } static Boolean CvtStringToPixel( @@ -2001,7 +2001,7 @@ static Boolean CvtStringToPixel( "noColormap", "cvtStringToPixel", "XtToolkitError", - "Cannot allocate colormap entry for \\"%s\\"", + "Cannot allocate colormap entry for \"%s\"", params, &num_params); *converter_data = (char *) False; return False; |