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 93e18df6 authored by Dmitry Kazakov's avatar Dmitry Kazakov

Fix a 'if-else' bug caught by LukasT

It doesn't change the behavior, but at least understandable now.

Warning from PVS Studio
V646 Consider inspecting the application's logic. It's possible that
'else' keyword is missing. kis_sequential_iterator.h 147

http://www.viva64.com/en/d/0265/print/
parent e34ea501
......@@ -144,7 +144,7 @@ public:
m_columnOffset = 0;
m_columnsLeft = m_numConseqPixels = m_policy.m_iter->nConseqPixels();
m_policy.updatePointersCache();
} if (!result && m_rowsLeft > 0) {
} else if (m_rowsLeft > 0) {
m_rowsLeft--;
m_policy.m_iter->nextRow();
m_columnOffset = 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