Skip to content

Commit 9ce51f3

Browse files
committed
Fix PQprint HTML tag, "centre" -> "center".
1 parent 8e4057c commit 9ce51f3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/interfaces/libpq/fe-print.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* didn't really belong there.
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-print.c,v 1.64 2005/10/15 02:49:48 momjian Exp $
13+
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-print.c,v 1.65 2006/02/06 02:23:07 momjian Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -242,12 +242,12 @@ PQprint(FILE *fout, const PGresult *res, const PQprintOpt *po)
242242
if (po->expanded && po->html3)
243243
{
244244
if (po->caption)
245-
fprintf(fout, "<centre><h2>%s</h2></centre>\n", po->caption);
245+
fprintf(fout, "<center><h2>%s</h2></center>\n", po->caption);
246246
else
247247
fprintf(fout,
248-
"<centre><h2>"
248+
"<center><h2>"
249249
"Query retrieved %d rows * %d fields"
250-
"</h2></centre>\n",
250+
"</h2></center>\n",
251251
nTups, nFields);
252252
}
253253
for (i = 0; i < nTups; i++)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy