Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit ee888dc7 authored by Michael Reeves's avatar Michael Reeves

Remove size variables from calacDiff

parent e272a7b5
......@@ -1165,12 +1165,11 @@ void calcDiff(const QString& line1, const QString& line2, DiffList& diffList, in
QString::const_iterator p1=line1.begin(), p2=line2.begin();
const int size1 = line1.size(), size2 = line2.size();
int nofEquals = 0;
while(nofEquals < size1 && nofEquals < size2 && line1[nofEquals] == line2[nofEquals])
while(nofEquals < line1.size() && nofEquals < line2.size() && line1[nofEquals] == line2[nofEquals])
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