diff options
author | Robert Haas <rhaas@postgresql.org> | 2010-11-14 21:03:48 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2010-11-14 21:03:48 -0500 |
commit | 5aa446c961a6fdf15ff9c398751efd6ecff0c64a (patch) | |
tree | ac22ab29014d718cb234f2edc334c7803b3593a7 /src/bin/psql/print.c | |
parent | 3892a2d8619ee5623fc3ebee775538fdea1f529e (diff) | |
download | postgresql-5aa446c961a6fdf15ff9c398751efd6ecff0c64a.tar.gz postgresql-5aa446c961a6fdf15ff9c398751efd6ecff0c64a.zip |
Cleanup various comparisons with the constant "true".
Itagaki Takahiro, with slight modifications.
Diffstat (limited to 'src/bin/psql/print.c')
-rw-r--r-- | src/bin/psql/print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/print.c b/src/bin/psql/print.c index a5007da09e8..c94607644ab 100644 --- a/src/bin/psql/print.c +++ b/src/bin/psql/print.c @@ -808,7 +808,7 @@ print_aligned_text(const printTableContent *cont, FILE *fout) unsigned int nbspace; if (opt_border != 0 || - (format->wrap_right_border == false && i > 0)) + (!format->wrap_right_border && i > 0)) fputs(curr_nl_line ? format->header_nl_left : " ", fout); @@ -829,7 +829,7 @@ print_aligned_text(const printTableContent *cont, FILE *fout) else fprintf(fout, "%*s", width_wrap[i], ""); - if (opt_border != 0 || format->wrap_right_border == true) + if (opt_border != 0 || format->wrap_right_border) fputs(!header_done[i] ? format->header_nl_right : " ", fout); |