Use FixedVariable::bAbsPath to check for special path vars
Change-Id: I526c45ecf3c7e21b87c16eef5047707f74da7668
This commit is contained in:
@@ -1091,9 +1091,7 @@ throw ( RuntimeException )
|
|||||||
if ( nPos >= 0 )
|
if ( nPos >= 0 )
|
||||||
{
|
{
|
||||||
bool bMatch = true;
|
bool bMatch = true;
|
||||||
if ( i.eVariable == PREDEFVAR_USERNAME ||
|
if ( !aFixedVarTable[i.eVariable].bAbsPath )
|
||||||
i.eVariable == PREDEFVAR_LANGID ||
|
|
||||||
i.eVariable == PREDEFVAR_VLANG )
|
|
||||||
{
|
{
|
||||||
// Special path variables as they can occur in the middle of a path. Only match if they
|
// Special path variables as they can occur in the middle of a path. Only match if they
|
||||||
// describe a whole directory and not only a substring of a directory!
|
// describe a whole directory and not only a substring of a directory!
|
||||||
|
Reference in New Issue
Block a user