Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9ce51f3

Browse files
committed
Fix PQprint HTML tag, "centre" -> "center".
1 parent8e4057c commit9ce51f3

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)

[8]ページ先頭

©2009-2025 Movatter.jp