From 5ee6f336ce27e7887fdc07ef45e0f3052d3893b0 Mon Sep 17 00:00:00 2001 From: Phil Pennock Date: Tue, 26 Apr 2011 15:02:09 -0400 Subject: Cond !bool{}/!bool_lax{} did not negate. Fixed. Fixes bug: 1104 --- src/src/expand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/src/expand.c b/src/src/expand.c index fece8c150..2e59c4084 100644 --- a/src/src/expand.c +++ b/src/src/expand.c @@ -2558,7 +2558,7 @@ switch(cond_type) "value \"%s\"", t); return NULL; } - if (yield != NULL) *yield = (boolvalue != 0); + if (yield != NULL) *yield = (boolvalue == testfor); return s; } -- cgit v1.2.3