forked from qt-creator/qt-creator
		
	C++ indenter: Fix preserving indent in comments with tabs.
Task-number: QTCREATORBUG-6151 Change-Id: I584666441dce05af9a91cd28812b230c36bdd830 Reviewed-on: http://codereview.qt-project.org/5318 Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
This commit is contained in:
		@@ -1342,7 +1342,7 @@ void QtStyleCodeFormatter::adjustIndent(const QList<CPlusPlus::Token> &tokens, i
 | 
			
		||||
    if (topState.type == multiline_comment_start
 | 
			
		||||
            || topState.type == multiline_comment_cont) {
 | 
			
		||||
        if (!tokens.isEmpty()) {
 | 
			
		||||
            *indentDepth = tokens.at(0).begin();
 | 
			
		||||
            *indentDepth = column(tokens.at(0).begin());
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user