In flute::readLUT(), prepend the "directory" to find the ".dat" files.

This commit is contained in:
Jean-Paul Chaput 2023-10-08 22:49:06 +02:00 committed by Rob Taylor
parent 366855c9bd
commit 1c657c958d
1 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,7 @@ void readLUT( string directory )
string file = POWVFILE;
if (not directory.empty()) file.insert( 0, directory+"/" );
fpwv=fopen(file.c_str(), "r");
if (fpwv == NULL) {
@ -85,6 +86,7 @@ void readLUT( string directory )
#if ROUTING==1
file = POSTFILE;
if (not directory.empty()) file.insert( 0, directory+"/" );
fprt=fopen(file.c_str(), "r");
if (fprt == NULL) {