Commit 14276f72 authored by Daniel Molkentin's avatar Daniel Molkentin
Browse files

Fixes: Warning on MSVC, no not temporary convert to int.

RevBy: Matthias
parent dc9ad66d
......@@ -3370,9 +3370,9 @@ void BaseTextEditor::setIfdefedOutBlocks(const QList<BaseTextEditor::BlockRange>
const BlockRange &range = blocks.at(rangeNumber);
if (block.position() >= range.first && (block.position() <= range.last || !range.last)) {
needUpdate += TextEditDocumentLayout::setIfdefedOut(block);
needUpdate |= TextEditDocumentLayout::setIfdefedOut(block);
} else {
needUpdate += TextEditDocumentLayout::clearIfdefedOut(block);
needUpdate |= TextEditDocumentLayout::clearIfdefedOut(block);
}
if (block.contains(range.last))
++rangeNumber;
......
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