changeset 539:2ec0d9f8a360

Build fix
author Chris Cannam
date Thu, 20 Mar 2014 11:02:09 +0000
parents 7c0eb6a21cf7
children 549f71180d21
files src/may/plot/chart.yeti
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/may/plot/chart.yeti	Tue Mar 18 15:00:27 2014 +0000
+++ b/src/may/plot/chart.yeti	Thu Mar 20 11:02:09 2014 +0000
@@ -77,7 +77,8 @@
         \() ChartLauncher#openStaticChart(chart);
     fi;
     if opts.saveTo != "" then
-        \() chart#screenshot(opts.saveTo);
+        outfile = new File(opts.saveTo);
+        \() chart#screenshot(outfile);
     fi);
     
 plotBarChart options values =