postgres.git / summary / log / commit / refs
commit 3feda1bcbb653e954092bddd9c3eb681ab51fa2b
Author: Peter Eisentraut <peter_e@gmx.net>
Date: Fri Aug 22 01:37:41 2014 +0000
Fix whitespace
src/bin/psql/print.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/bin/psql/print.c b/src/bin/psql/print.c
index 5e6316919eb..0b31bc1ed27 100644
--- a/src/bin/psql/print.c
+++ b/src/bin/psql/print.c
@@ -1296,20 +1296,20 @@ print_aligned_vertical(const printTableContent *cont, FILE *fout)
swidth = 7;
if ((opt_border < 2) &&
- ((hmultiline &&
+ ((hmultiline &&
(format == &pg_asciiformat_old)) ||
- (dmultiline &&
+ (dmultiline &&
(format != &pg_asciiformat_old))))
iwidth++; /* for newline indicators */
min_width = hwidth + iwidth + swidth + 3;
- /*
+ /*
* Record header width
*/
if (!opt_tuples_only)
{
- /*
+ /*
* Record number
*/
unsigned int rwidth = 1 + log10(cont->nrows);
@@ -1337,7 +1337,7 @@ print_aligned_vertical(const printTableContent *cont, FILE *fout)
if ((width < dwidth) || (dheight > 1))
{
dmultiline = true;
- if ((opt_border == 0) &&
+ if ((opt_border == 0) &&
(format != &pg_asciiformat_old))
width--; /* for wrap indicators */
}
@@ -1368,7 +1368,7 @@ print_aligned_vertical(const printTableContent *cont, FILE *fout)
{
unsigned int lhwidth = hwidth;
if ((opt_border < 2) &&
- (hmultiline) &&
+ (hmultiline) &&
(format == &pg_asciiformat_old))
lhwidth++; /* for newline indicators */
@@ -1427,7 +1427,7 @@ print_aligned_vertical(const printTableContent *cont, FILE *fout)
if (swidth > 0)
fprintf(fout, "%*s", swidth, " ");
- /*
+ /*
* New line indicator or separator's space
*/
if (hlineptr[hline + 1].ptr)
@@ -1455,7 +1455,7 @@ print_aligned_vertical(const printTableContent *cont, FILE *fout)
(format == &pg_asciiformat_old))
swidth++;
- if ((opt_border == 0) &&
+ if ((opt_border == 0) &&
(format != &pg_asciiformat_old) &&
(hmultiline))
swidth++;
[parent: 3c4cf080879b]