From 1a5beef51f5c32081116e502c1c90a3e32813020 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Fri, 2 May 2003 01:44:59 +0000 Subject: - Fix bug #1405: allow multiple pattern-specific variables to match a target. - Fix some uncleanliness about the implementation of patterns-specific vars. - Some enhancements to the OS/2 port. --- function.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'function.c') diff --git a/function.c b/function.c index 08a4d56..d05a5bb 100644 --- a/function.c +++ b/function.c @@ -681,9 +681,9 @@ func_words (char *o, char **argv, const char *funcname) static char * strip_whitespace (const char **begpp, const char **endpp) { - while (isspace ((unsigned char)**begpp) && *begpp <= *endpp) + while (*begpp <= *endpp && isspace ((unsigned char)**begpp)) (*begpp) ++; - while (isspace ((unsigned char)**endpp) && *endpp >= *begpp) + while (*endpp >= *begpp && isspace ((unsigned char)**endpp)) (*endpp) --; return (char *)*begpp; } -- cgit v1.2.3