diff options
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; |