mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-23 07:29:46 +02:00
Small correction to parsing of LOF file
This commit is contained in:
parent
5e3a4fa29d
commit
12e3d1d2e2
@ -368,7 +368,8 @@ void LOFImportFileHandle::lofOpenFiles(wxString* ln)
|
||||
|
||||
// To identify filename and open it
|
||||
tokenholder = temptok1.GetNextToken();
|
||||
targetfile = temptok1.GetNextToken();
|
||||
wxString targettoken = temptok1.GetNextToken();
|
||||
targetfile = targettoken;
|
||||
|
||||
// If path is relative, make absolute path from LOF path
|
||||
if(!wxIsAbsolutePath(targetfile)) {
|
||||
@ -400,7 +401,7 @@ void LOFImportFileHandle::lofOpenFiles(wxString* ln)
|
||||
}
|
||||
|
||||
// Set tok to right after filename
|
||||
temptok2.SetString(targetfile);
|
||||
temptok2.SetString(targettoken);
|
||||
tokenplace = temptok2.CountTokens();
|
||||
|
||||
for (int i = 0; i < tokenplace; i++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user