From 62e62ed907d31734e0e3e4b6a289f4544136da22 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Mon, 27 Jan 2020 17:14:38 -0800 Subject: [PATCH] Fixed formatting for 'public abstract class' --- IDEHelper/Compiler/BfPrinter.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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);