Commit 71434569 authored by Michael Reeves's avatar Michael Reeves

Fix broken assert.

parent 069f3107
Pipeline #7601 passed with stage
in 8 minutes and 4 seconds
......@@ -1300,7 +1300,7 @@ void calcDiff(const QString& line1, const QString& line2, DiffList& diffList, in
break;
}
Q_ASSERT(diffList.size() * sizeof(Diff) + sizeof(DiffList) >= (50 << 20));
Q_ASSERT(diffList.size() * sizeof(Diff) + sizeof(DiffList) <= (50 << 20));
// Verify difflist
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment