diff options
author | Julien Cornebise <julien.cornebise@gmail.com> | 2013-10-12 20:59:00 +0400 |
---|---|---|
committer | Julien Cornebise <julien.cornebise@gmail.com> | 2013-10-17 20:15:21 +0400 |
commit | da096d2eccb1408604341949e3bb1890043749fa (patch) | |
tree | 11c96fb4539dfc3e998f90e266359c2ef5dc9792 | |
parent | 8e2bb3bc8412f8faca5e5f307a8315277b9f5eb7 (diff) |
Uniformize coding style between my two modifications
-rw-r--r-- | gnuplot.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gnuplot.lua b/gnuplot.lua index e7d2116..d33ebbe 100644 --- a/gnuplot.lua +++ b/gnuplot.lua @@ -665,10 +665,7 @@ function gnuplot.svgfigure(fname,n) end function gnuplot.pngfigure(fname,n) - local term = 'png' - if gnuplothasterm('pngcairo') then - term = 'pngcairo' - end + local term = gnuplothasterm('pngcairo') and 'pngcairo' or 'png' filefigure(fname,term,n) return _gptable.current end |