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);
if ((width < dwidth) || (dheight > 1))
{
dmultiline = true;
- if ((opt_border == 0) &&
+ if ((opt_border == 0) &&
(format != &pg_asciiformat_old))
width--; /* for wrap indicators */
}
{
unsigned int lhwidth = hwidth;
if ((opt_border < 2) &&
- (hmultiline) &&
+ (hmultiline) &&
(format == &pg_asciiformat_old))
lhwidth++; /* for newline indicators */
if (swidth > 0)
fprintf(fout, "%*s", swidth, " ");
- /*
+ /*
* New line indicator or separator's space
*/
if (hlineptr[hline + 1].ptr)
(format == &pg_asciiformat_old))
swidth++;
- if ((opt_border == 0) &&
+ if ((opt_border == 0) &&
(format != &pg_asciiformat_old) &&
(hmultiline))
swidth++;