render: Make struct render_params a little smaller.
[pspp] / src / output / html.c
index eb9e91e1ca9f9d3a01f425ec534c16f0281b4cff..9498561a54b3d843c3ed33c7e50ef1e1542708ef 100644 (file)
@@ -195,8 +195,8 @@ html_create (struct file_handle *fh, enum settings_output_devices device_type,
   html->file = NULL;
   html->chart_cnt = 1;
 #ifdef HAVE_CAIRO
-  parse_color (d, o, "background-color", "#FFFFFFFFFFFF", &html->bg);
-  parse_color (d, o, "foreground-color", "#000000000000", &html->fg);
+  html->bg = parse_color (opt (d, o, "background-color", "#FFFFFFFFFFFF"));
+  html->fg = parse_color (opt (d, o, "foreground-color", "#000000000000"));
 #endif
   html->file = fn_open (html->handle, "w");
   if (html->file == NULL)
@@ -305,10 +305,6 @@ html_submit (struct output_driver *driver,
         case TEXT_ITEM_LOG:
           print_title_tag (html->file, "pre", s); /* should be <P><TT> */
           break;
-
-        case TEXT_ITEM_EJECT_PAGE:
-          /* Nothing to do. */
-          break;
         }
     }
   else if (is_message_item (output_item))