output: Correctly define and properly implement column width ranges.
[pspp] / src / output / spv / spv-legacy-decoder.c
index 84397a04ab3179bc80be903689b0477efb969cbd..904a6815f1849ac5cb0baab700224f703a2a4663 100644 (file)
@@ -1793,8 +1793,8 @@ decode_spvdx_table (const struct spvdx_visualization *v, const char *subtype,
                   &min_width, &max_width, &n)
           && v->graph->cell_style->width[n] == '\0')
         {
-          table->look->width_ranges[TABLE_HORZ][0] = min_width;
-          table->look->width_ranges[TABLE_HORZ][1] = max_width;
+          table->look->col_heading_width_range[0] = min_width;
+          table->look->col_heading_width_range[1] = max_width;
         }
     }