git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8e4057c)
Fix PQprint HTML tag, "centre" -> "center".
Mon, 6 Feb 2006 02:23:07 +0000 (02:23 +0000)
Mon, 6 Feb 2006 02:23:07 +0000 (02:23 +0000)

diff --git a/src/interfaces/libpq/fe-print.c b/src/interfaces/libpq/fe-print.c
index f49859020b0e08edac19b7868128f02b57de2d67..ac9430745ff098da4c2093470753e517be7ed0c7 100644 (file)
--- 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++)
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /