diff options
author | Alfredo Canziani <alfredo.canziani@gmail.com> | 2015-02-19 00:46:05 +0300 |
---|---|---|
committer | Alfredo Canziani <alfredo.canziani@gmail.com> | 2015-02-19 00:46:05 +0300 |
commit | f077b670ed99a8bd724a63ff7637576f741a84c3 (patch) | |
tree | 4f3a3308adc464f8b3878d85cdf71c5c216914ab | |
parent | 982b91d2b8dde1e87fc0c11995fd1a26e13c82ff (diff) |
Same 4.4 version check bug in another place
-rw-r--r-- | gnuplot.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuplot.lua b/gnuplot.lua index ebbc630..5cfe4ff 100644 --- a/gnuplot.lua +++ b/gnuplot.lua @@ -261,7 +261,7 @@ function gnuplot.setgnuplotexe(exe) _gptable.exe = exe local v,vv = findgnuplotversion(exe) if v < 4 then error('gnuplot version 4 is required') end - if vv < 4 then + if v == 4 and vv < 4 then _gptable.hasrefresh = false print('Some functionality like adding title, labels, ... will be disabled, it is better to install gnuplot version 4.4') else |