Always return a path if we can't normalize it

Fix #7323
This commit is contained in:
Marek Roszko 2021-02-04 23:55:18 -05:00
parent 5c3ee0443c
commit 7bdea16b1f
1 changed files with 4 additions and 0 deletions

View File

@ -118,6 +118,10 @@ wxString NormalizePath( const wxFileName& aFilePath, const ENV_VAR_MAP* aEnvVars
normalizedFullPath += aFilePath.GetFullName();
}
else
{
normalizedFullPath = aFilePath.GetFullPath();
}
return normalizedFullPath;
}