From: Hermès Bélusca-Maïto Date: Sun, 7 Oct 2018 18:28:43 +0000 (+0200) Subject: [SHELL32_APITEST] Fix the code with respect to what the comments say. No change in... X-Git-Tag: 0.4.12-dev~593 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=cd473963f465878615e541759cf0b2e8709cd88b [SHELL32_APITEST] Fix the code with respect to what the comments say. No change in test results happen. --- diff --git a/modules/rostests/apitests/shell32/CShellLink.cpp b/modules/rostests/apitests/shell32/CShellLink.cpp index 0e5cd532695..223ad5bfde2 100644 --- a/modules/rostests/apitests/shell32/CShellLink.cpp +++ b/modules/rostests/apitests/shell32/CShellLink.cpp @@ -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;