diff --git a/IDEHelper/Compiler/BfPrinter.cpp b/IDEHelper/Compiler/BfPrinter.cpp index 3fac32e1..3a920230 100644 --- a/IDEHelper/Compiler/BfPrinter.cpp +++ b/IDEHelper/Compiler/BfPrinter.cpp @@ -2245,9 +2245,8 @@ void BfPrinter::Visit(BfTypeDeclaration* typeDeclaration) ExpectNewLine(); QueueVisitChild(typeDeclaration->mAttributes); if (!isOneLine) - ExpectNewLine(); - else - ExpectSpace(); + ExpectNewLine(); + ExpectSpace(); QueueVisitChild(typeDeclaration->mAbstractSpecifier); ExpectSpace(); QueueVisitChild(typeDeclaration->mSealedSpecifier);