Skip to content

Commit

Permalink
Change comparison
Browse files Browse the repository at this point in the history
Signed-off-by: Ryszard Rozak <rrozak@antmicro.com>
  • Loading branch information
RRozak committed Jan 23, 2025
1 parent e751515 commit 95a586e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/VlcTop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ void VlcTop::writeInfo(const string& filename) {
}
const std::string aStripped = a->commentStripped();
const std::string bStripped = b->commentStripped();
return compareStrippedRecurse(aStripped, bStripped) == -1;
return compareStrippedRecurse(aStripped, bStripped) < 0;
}
};
std::sort(sortedPoints.begin(), sortedPoints.end(), PointCmp());
Expand Down

0 comments on commit 95a586e

Please sign in to comment.