1
0
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:
Antonin Portelli 2020-01-11 16:48:36 +00:00
parent caeb78b143
commit 0fbe00da0d

View File

@ -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)