From 9ce51f3aa661a1986b5b61c076f36df279024e04 Mon Sep 17 00:00:00 2001 From: Bruce Momjian <bruce@momjian.us> Date: Mon, 6 Feb 2006 02:23:07 +0000 Subject: [PATCH] Fix PQprint HTML tag, "centre" -> "center". --- src/interfaces/libpq/fe-print.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/interfaces/libpq/fe-print.c b/src/interfaces/libpq/fe-print.c index f49859020b0..ac9430745ff 100644 --- a/src/interfaces/libpq/fe-print.c +++ b/src/interfaces/libpq/fe-print.c @@ -10,7 +10,7 @@ * didn't really belong there. * * IDENTIFICATION - * $PostgreSQL: pgsql/src/interfaces/libpq/fe-print.c,v 1.64 2005/10/15 02:49:48 momjian Exp $ + * $PostgreSQL: pgsql/src/interfaces/libpq/fe-print.c,v 1.65 2006/02/06 02:23:07 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -242,12 +242,12 @@ PQprint(FILE *fout, const PGresult *res, const PQprintOpt *po) if (po->expanded && po->html3) { if (po->caption) - fprintf(fout, "<centre><h2>%s</h2></centre>\n", po->caption); + fprintf(fout, "<center><h2>%s</h2></center>\n", po->caption); else fprintf(fout, - "<centre><h2>" + "<center><h2>" "Query retrieved %d rows * %d fields" - "</h2></centre>\n", + "</h2></center>\n", nTups, nFields); } for (i = 0; i < nTups; i++) -- GitLab