From 162643f981292504f375a7f834d408a4a0fa7f46 Mon Sep 17 00:00:00 2001 From: "Jeffrey H. Kingston" Date: Tue, 14 Sep 2010 20:36:56 +0000 Subject: Lout 3.22. git-svn-id: http://svn.savannah.nongnu.org/svn/lout/trunk@13 9365b830-b601-4143-9ba8-b4a8e2c3339c --- z42.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'z42.c') 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)"); -- cgit