projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
output: Rename caption to title.
[pspp]
/
src
/
output
/
html.c
diff --git
a/src/output/html.c
b/src/output/html.c
index 19d1085e4178d20490b8a10cee5d030fea1245a2..715682a9ea02087a92f4857938a4106b9ead7da3 100644
(file)
--- a/
src/output/html.c
+++ b/
src/output/html.c
@@
-377,7
+377,7
@@
static void
html_output_table (struct html_driver *html, const struct table_item *item)
{
const struct table *t = table_item_get_table (item);
html_output_table (struct html_driver *html, const struct table_item *item)
{
const struct table *t = table_item_get_table (item);
- const char *
caption = table_item_get_caption
(item);
+ const char *
title = table_item_get_title
(item);
int footnote_idx = 0;
int y;
int footnote_idx = 0;
int y;
@@
-428,10
+428,10
@@
html_output_table (struct html_driver *html, const struct table_item *item)
fputs ("<TBODY VALIGN=\"TOP\">\n", html->file);
fputs ("<TBODY VALIGN=\"TOP\">\n", html->file);
- if (
caption
!= NULL)
+ if (
title
!= NULL)
{
fputs (" <CAPTION>", html->file);
{
fputs (" <CAPTION>", html->file);
- escape_string (html->file,
caption, strlen (caption
), " ", "<BR>");
+ escape_string (html->file,
title, strlen (title
), " ", "<BR>");
fputs ("</CAPTION>\n", html->file);
}
fputs ("</CAPTION>\n", html->file);
}