Skip to content

Commit

Permalink
Fixed returning true instead of index
Browse files Browse the repository at this point in the history
  • Loading branch information
DrusTheAxe committed Jan 31, 2024
1 parent 3a88a3d commit b0ac1ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/DynamicDependency/Test_Win32/Test_Win32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ int Test::DynamicDependency::Test_Win32::FindPackageFullNameInPackageInfoArray(
{
if (CompareStringOrdinal(packageFullName.c_str(), -1, packageInfo->packageFullName, -1, TRUE) == CSTR_EQUAL)
{
return true;
return index;
}
}
return -1;
Expand Down

0 comments on commit b0ac1ac

Please sign in to comment.