mirror of
https://github.com/postgres/postgres.git
synced 2025-06-13 07:41:39 +03:00
Cleanup various comparisons with the constant "true".
Itagaki Takahiro, with slight modifications.
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user