From 55858266e4b310f34c6812e6ecb8f08fe3e5c582 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Fri, 8 Jul 2016 14:16:36 +0300 Subject: Minor coding style fix in builtin.c. --- builtin.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'builtin.c') diff --git a/builtin.c b/builtin.c index 92ac9e49..77cf3fc5 100644 --- a/builtin.c +++ b/builtin.c @@ -2203,9 +2203,10 @@ do_print(int nargs, int redirtype) if (tmp->type == Node_typedregex) args_array[i] = force_string(tmp); - else if (!((tmp->flags & STRCUR) != 0 - && (tmp->stfmt == STFMT_UNUSED || tmp->stfmt == OFMTidx))) - args_array[i] = format_val(OFMT, OFMTidx, tmp); + else if ( (tmp->flags & STRCUR) == 0 + || ( tmp->stfmt != STFMT_UNUSED + && tmp->stfmt != OFMTidx)) + args_array[i] = format_val(OFMT, OFMTidx, tmp); } if (redir_exp != NULL) { -- cgit v1.2.3