chart: Fix format string issues in chart_write_title callers.
[pspp-builds.git] / src / language / stats / examine.q
index febb60fedeeb5d5146253c5b3c434bece64ff79e..4254d4fbb5ec9fbe8ac3ce3900ddc19c1e6911a5 100644 (file)
@@ -1800,7 +1800,7 @@ box_plot_variables (const struct factor *fctr,
       ds_init_empty (&str);
       factor_to_string (fctr, *fs, 0, &str );
 
-      chart_write_title (ch, ds_cstr (&str));
+      chart_write_title (ch, "%s", ds_cstr (&str));
 
       for ( i = 0 ; i < n_vars ; ++i )
        {