X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fhtml.c;h=989752b627fc9c54dcbf59410c5729769a96488c;hb=d6ecde013d55ee2ea64d5f0e770d6d6325b44a88;hp=636450a9a353c1d43ccac0f7c4a54b665e946401;hpb=ddb7b52128d8f1f54d9632dc3a15c7869e0fbcce;p=pspp-builds.git diff --git a/src/output/html.c b/src/output/html.c index 636450a9..989752b6 100644 --- a/src/output/html.c +++ b/src/output/html.c @@ -103,7 +103,7 @@ html_create (const char *file_name, enum settings_output_devices device_type, html->file = fn_open (html->file_name, "w"); if (html->file == NULL) { - error (0, errno, _("opening HTML output file: %s"), html->file_name); + error (0, errno, _("error opening output file \"%s\""), html->file_name); goto error; } @@ -243,6 +243,7 @@ html_submit (struct output_driver *driver, struct table_item *table_item = to_table_item (output_item); html_output_table (html, table_item); } +#ifdef HAVE_CAIRO else if (is_chart_item (output_item) && html->chart_file_name != NULL) { struct chart_item *chart_item = to_chart_item (output_item); @@ -256,6 +257,7 @@ html_submit (struct output_driver *driver, free (file_name); } } +#endif /* HAVE_CAIRO */ else if (is_text_item (output_item)) { struct text_item *text_item = to_text_item (output_item);