[SHELL32_APITEST] Fix the code with respect to what the comments say. No change in test results happen.

This commit is contained in:
Hermès Bélusca-Maïto 2018-10-07 20:28:43 +02:00
parent 732a6b0801
commit cd473963f4
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -120,14 +120,14 @@ static WCHAR evVar[MAX_PATH];
expectedPathOut = NULL;
for (i1 = 0; i1 <= 1; i1++)
{
if (i1 == 1) /* Usually SLGP_RAWPATH */
if (i1 == 0) /* Usually SLGP_SHORTPATH */
{
flags = testDef->flags1;
expandPathOut = testDef->expandPathOut1;
expectedPathOut = testDef->pathOut1;
expectedHr = testDef->hrGetPath1;
}
else /* Usually SLGP_SHORTPATH */
else // if (i1 == 1) /* Usually SLGP_RAWPATH */
{
flags = testDef->flags2;
expandPathOut = testDef->expandPathOut2;