Commit 9ce51f3a authored by Bruce Momjian's avatar Bruce Momjian

Fix PQprint HTML tag, "centre" -> "center".

parent 8e4057cc
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* didn't really belong there. * didn't really belong there.
* *
* IDENTIFICATION * 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) ...@@ -242,12 +242,12 @@ PQprint(FILE *fout, const PGresult *res, const PQprintOpt *po)
if (po->expanded && po->html3) if (po->expanded && po->html3)
{ {
if (po->caption) if (po->caption)
fprintf(fout, "<centre><h2>%s</h2></centre>\n", po->caption); fprintf(fout, "<center><h2>%s</h2></center>\n", po->caption);
else else
fprintf(fout, fprintf(fout,
"<centre><h2>" "<center><h2>"
"Query retrieved %d rows * %d fields" "Query retrieved %d rows * %d fields"
"</h2></centre>\n", "</h2></center>\n",
nTups, nFields); nTups, nFields);
} }
for (i = 0; i < nTups; i++) for (i = 0; i < nTups; i++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment