# HG changeset patch # User Chris Cannam # Date 1395313329 0 # Node ID 2ec0d9f8a3604add20440037d1298df6287ab4db # Parent 7c0eb6a21cf7ccd0d38d3ceedf86ce40697419f6 Build fix diff -r 7c0eb6a21cf7 -r 2ec0d9f8a360 src/may/plot/chart.yeti --- 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 =