Fix a regression in AppSearch.
This commit is contained in:
parent
3d4ce5c2c1
commit
35c65cf731
@ -629,7 +629,7 @@ static BOOL ACTION_IsFullPath(LPCWSTR path)
|
|||||||
WCHAR first = toupperW(path[0]);
|
WCHAR first = toupperW(path[0]);
|
||||||
BOOL ret;
|
BOOL ret;
|
||||||
|
|
||||||
if (first >= 'A' && first <= 'A' && path[1] == ':')
|
if (first >= 'A' && first <= 'Z' && path[1] == ':')
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
else if (path[0] == '\\' && path[1] == '\\')
|
else if (path[0] == '\\' && path[1] == '\\')
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
@ -644,6 +644,7 @@ static UINT ACTION_SearchDirectory(MSIPACKAGE *package, MSISIGNATURE *sig,
|
|||||||
UINT rc;
|
UINT rc;
|
||||||
BOOL found;
|
BOOL found;
|
||||||
|
|
||||||
|
TRACE("%p, %p, %s, %d\n", package, sig, debugstr_w(expanded), depth);
|
||||||
if (ACTION_IsFullPath(expanded))
|
if (ACTION_IsFullPath(expanded))
|
||||||
{
|
{
|
||||||
if (sig->File)
|
if (sig->File)
|
||||||
@ -681,6 +682,7 @@ static UINT ACTION_SearchDirectory(MSIPACKAGE *package, MSISIGNATURE *sig,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
TRACE("returning %d\n", rc);
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user