mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2024-11-10 00:45:36 +00:00
gnuplot path search fix
This commit is contained in:
parent
caeb78b143
commit
0fbe00da0d
@ -584,10 +584,7 @@ Plot & Plot::operator<<(PlotModifier &&modifier)
|
||||
sprintf(buf, "%s/%s", dir, gnuplotBin_.c_str());\
|
||||
if (access(buf, X_OK) == 0)\
|
||||
{\
|
||||
sprintf(buf,".");\
|
||||
gnuplotPath_ = buf;\
|
||||
\
|
||||
return gnuplotPath_;\
|
||||
return dir;\
|
||||
}
|
||||
|
||||
std::string Plot::getProgramPath(void)
|
||||
|
Loading…
Reference in New Issue
Block a user