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