Increment index by 1 as indexOf is inclusive when searching for dotnet.exe (#589)
This commit is contained in:
parent
ccf2529f6c
commit
4ca45d951f
|
|
@ -616,7 +616,7 @@ HOSTFXR_UTILITY::FindDotnetExePath(
|
|||
{
|
||||
goto Finished;
|
||||
}
|
||||
prevIndex = index;
|
||||
prevIndex = index + 1;
|
||||
|
||||
if (GetBinaryTypeW(struDotnetSubstring.QueryStr(), &dwBinaryType) &&
|
||||
fIsCurrentProcess64Bit == (dwBinaryType == SCS_64BIT_BINARY)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue