X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fhtml.c;fp=src%2Foutput%2Fhtml.c;h=715682a9ea02087a92f4857938a4106b9ead7da3;hb=5b5099296b3c7212623991de8920e1459e234922;hp=19d1085e4178d20490b8a10cee5d030fea1245a2;hpb=d3fef25674baf4f4e25502f257c680b5090535c6;p=pspp diff --git a/src/output/html.c b/src/output/html.c index 19d1085e41..715682a9ea 100644 --- 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); - const char *caption = table_item_get_caption (item); + const char *title = table_item_get_title (item); int footnote_idx = 0; int y; @@ -428,10 +428,10 @@ html_output_table (struct html_driver *html, const struct table_item *item) fputs ("\n", html->file); - if (caption != NULL) + if (title != NULL) { fputs (" ", html->file); - escape_string (html->file, caption, strlen (caption), " ", "
"); + escape_string (html->file, title, strlen (title), " ", "
"); fputs ("\n", html->file); }