From 3c957741bc3f971b63626b2e65e8c4f35241a2db Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Tue, 6 Aug 2019 15:12:12 -0400 Subject: [PATCH] Tweak .astylerc. --- .astylerc | 36 ++++++++++++++++++++---------------- src/main.cpp | 2 +- 2 files changed, 21 insertions(+), 17 deletions(-) diff --git a/.astylerc b/.astylerc index 28360da1..70b47e0e 100644 --- a/.astylerc +++ b/.astylerc @@ -6,19 +6,23 @@ # Usage: # astyle --suffix=none --options=.astylerc filename.cpp ---style=java ---indent=tab ---indent-switches ---attach-closing-while ---pad-oper ---pad-comma ---pad-header ---unpad-paren ---align-pointer=name ---align-reference=name ---break-closing-braces ---break-one-line-headers ---attach-return-type ---attach-return-type-decl ---keep-one-line-statements ---close-templates +style=java +indent=tab +attach-closing-while +indent-switches +indent-after-parens +indent-preproc-block +indent-preproc-define +indent-col1-comments +pad-oper +pad-comma +pad-header +unpad-paren +align-pointer=name +align-reference=name +break-closing-braces +break-one-line-headers +attach-return-type +attach-return-type-decl +keep-one-line-statements +close-templates diff --git a/src/main.cpp b/src/main.cpp index 8687640b..a88d1c5a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -76,8 +76,8 @@ int main(int argc, char *argv[]) { case 'h': { settings::headless = true; } break; - // Due to Mac app translocation and Apple adding a -psn... flag when launched, disable screenshots on Mac for now. #if !defined ARCH_MAC + // Due to Mac app translocation and Apple adding a -psn... flag when launched, disable screenshots on Mac for now. case 'p': { screenshot = true; // If parsing number failed, use default value