https://git.reactos.org/?p=reactos.git;a=commitdiff;h=cd473963f465878615e541...
commit cd473963f465878615e541759cf0b2e8709cd88b Author: Hermès Bélusca-Maïto hermes.belusca-maito@reactos.org AuthorDate: Sun Oct 7 20:28:43 2018 +0200 Commit: Hermès Bélusca-Maïto hermes.belusca-maito@reactos.org CommitDate: Sun Oct 7 20:32:22 2018 +0200
[SHELL32_APITEST] Fix the code with respect to what the comments say. No change in test results happen. --- modules/rostests/apitests/shell32/CShellLink.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/rostests/apitests/shell32/CShellLink.cpp b/modules/rostests/apitests/shell32/CShellLink.cpp index 0e5cd53269..223ad5bfde 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;