diff options
Diffstat (limited to 'builtin.c')
-rw-r--r-- | builtin.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -2203,8 +2203,7 @@ do_print(int nargs, int redirtype) if (tmp->type == Node_typedregex) args_array[i] = force_string(tmp); - else if ((fixtype(tmp)->flags & (NUMBER|STRING)) == NUMBER && - !((tmp->flags & STRCUR) != 0 + else if (!((tmp->flags & STRCUR) != 0 && (tmp->stfmt == -1 || tmp->stfmt == OFMTidx))) args_array[i] = format_val(OFMT, OFMTidx, tmp); } |