mirror of
https://github.com/postgres/postgres.git
synced 2026-02-23 01:40:33 -05:00
Fix PQprint HTML tag, "centre" -> "center".
This commit is contained in:
parent
7d41ef1a92
commit
763b9c1901
1 changed files with 4 additions and 4 deletions
|
|
@ -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.64.2.1 2006/02/06 02:23:17 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++)
|
||||
|
|
|
|||
Loading…
Reference in a new issue