Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit a60e5a8a authored by Michael Reeves's avatar Michael Reeves

scrub redudant if statement.

parent c81d08ef
......@@ -1572,11 +1572,9 @@ void DiffTextWindow::recalcWordWrap(bool bWordWrap, int wrapLineVectorSize, int
d->m_diff3WrapLineVector.resize(wrapLineVectorSize);
if(wrapLineVectorSize == 0)
d->m_wrapLineCacheList.clear();
if(wrapLineVectorSize == 0)
{
d->m_wrapLineCacheList.clear();
d->m_bPaintingAllowed = false;
for(int i = 0, j = 0; i < d->m_pDiff3LineVector->size(); i += s_linesPerRunnable, ++j)
//int i=0;
......
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