From e196887b273e98ec9a9685e7c467e1210885b09e Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 4 Mar 2003 19:20:52 +0000 Subject: Fix a bug in the white-space remover. --- tools/regression/geom/ConfCmp/ConfCmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/regression/geom/ConfCmp/ConfCmp.c b/tools/regression/geom/ConfCmp/ConfCmp.c index 69a3c58..1ddf502 100644 --- a/tools/regression/geom/ConfCmp/ConfCmp.c +++ b/tools/regression/geom/ConfCmp/ConfCmp.c @@ -163,7 +163,7 @@ CharData(void *userData , const XML_Char *s , int len) b++; while (isspace(*e) && e > b) e--; - if (e != b) + if (e != b || *b) sbuf_bcat(mt->cur->cont, b, e - b + 1); } -- cgit v1.1