From cd473963f465878615e541759cf0b2e8709cd88b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Sun, 7 Oct 2018 20:28:43 +0200 Subject: [PATCH] [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 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;