[PATCH 9/9] psql: print_aligned_vertical: Correct indentation - Mailing list pgsql-hackers

From Roger Leigh
Subject [PATCH 9/9] psql: print_aligned_vertical: Correct indentation
Date
Msg-id 1250964814-22262-3-git-send-email-rleigh@debian.org
Whole thread Raw
In response to Unicode UTF-8 table formatting for psql text output  (Roger Leigh <rleigh@debian.org>)
List pgsql-hackers
Signed-off-by: Roger Leigh <rleigh@debian.org>
---src/bin/psql/print.c |    8 ++++----1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/bin/psql/print.c b/src/bin/psql/print.c
index c6394ad..10faeb3 100644
--- a/src/bin/psql/print.c
+++ b/src/bin/psql/print.c
@@ -1154,10 +1154,10 @@ print_aligned_vertical(const printTableContent *cont,    /* print records */    for (i = 0, ptr
=cont->cells; *ptr; i++, ptr++)    {
 
-      int    line_count,
-        dcomplete,
-        hcomplete;
-        printTextRule pos = PRINT_RULE_MIDDLE;
+        int        line_count,
+                    dcomplete,
+                hcomplete;
+        printTextRule    pos = PRINT_RULE_MIDDLE;        if (i == 0)              pos = PRINT_RULE_TOP;        else if
(!(*(ptr+1)))
-- 
1.6.3.3



pgsql-hackers by date:

Previous
From: Roger Leigh
Date:
Subject: Submitted patches stuck in moderation queue
Next
From: Roger Leigh
Date:
Subject: [PATCH 2/6] psql: Add table formats for ASCII and UTF-8