From 442fd05339140d8f4e8a0de3e74c0b6af4e674dd Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Thu, 22 Apr 2010 03:42:00 +0000 Subject: [PATCH] isprint --- old-tests/regex/parse_t.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/old-tests/regex/parse_t.c b/old-tests/regex/parse_t.c index 4c3071ca3..90eb1ca8c 100644 --- a/old-tests/regex/parse_t.c +++ b/old-tests/regex/parse_t.c @@ -116,7 +116,7 @@ static void _regex_print(struct rx_node *rx, int depth) printf("["); for (i = 0; i < 256; i++) if (dm_bit(rx->charset, i)) { - if isprint(i) + if (isprint(i)) printf("%c", (char) i); else if (i == HAT_CHAR) printf("^"); -- 2.43.5