forked from qt-creator/qt-creator
Fix coding style for else statements
Change-Id: I1309db70e98d678e150388c76ce665e988fdf081 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
c67f7f6349
commit
ad9e7ccab6
@@ -519,9 +519,9 @@ void CodeFormatter::recalculateStateAfter(const QTextBlock &block)
|
||||
int previousPreviousMarker = -1;
|
||||
for (int i = size - 1; i >= 0; --i) {
|
||||
if (m_currentState.at(i).type == cpp_macro_conditional) {
|
||||
if (previousMarker == -1)
|
||||
if (previousMarker == -1) {
|
||||
previousMarker = i;
|
||||
else {
|
||||
} else {
|
||||
previousPreviousMarker = i;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user