output: Combine color and stroke into table_border_style.
[pspp] / src / output / spv / spv-table-look.c
index f2f5761ad249b1f4b54fe65bd3731500fe0e4e17..49266d899aba8c368e5c04f5435c0bb773f9492e 100644 (file)
@@ -646,8 +646,8 @@ spv_table_look_write (const char *filename, const struct pivot_table_look *look)
 
       start_elem (xml, pivot_area_names[a]);
       if (a == PIVOT_AREA_DATA
-          && (!cell_color_equal (&font->fg[0], &font->fg[1])
-              || !cell_color_equal (&font->bg[0], &font->bg[1])))
+          && (!cell_color_equal (font->fg[0], font->fg[1])
+              || !cell_color_equal (font->bg[0], font->bg[1])))
         {
           write_attr_color (xml, "alternatingColor", &font->bg[1]);
           write_attr_color (xml, "alternatingTextColor", &font->fg[1]);