aboutsummaryrefslogtreecommitdiffstats
path: root/z42.c
diff options
context:
space:
mode:
Diffstat (limited to 'z42.c')
-rw-r--r--z42.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/z42.c b/z42.c
index b72fb46..051f263 100644
--- a/z42.c
+++ b/z42.c
@@ -1,6 +1,6 @@
/*@z42.c:Colour Service:ColourChange, ColourCommand@**************************/
/* */
-/* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.21) */
+/* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.22) */
/* COPYRIGHT (C) 1991, 2000 Jeffrey H. Kingston */
/* */
/* Jeffrey H. Kingston (jeff@cs.usyd.edu.au) */
@@ -195,7 +195,7 @@ void ColourChange(STYLE *style, OBJECT x)
/* if argument is empty, fail and exit */
if( StringEqual(string(x), STR_EMPTY) )
- { if( BackEnd != PLAINTEXT )
+ { if( BackEnd->colour_avail )
Error(42, 4, "%s ignored (empty left parameter)", WARN, &fpos(x),
KW_COLOUR);
debug0(DCO, D, "ColourChange returning (colour unchanged)");