Skip to content

Commit

Permalink
Tweak .astylerc.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewBelt committed Aug 6, 2019
1 parent 1736687 commit 3c95774
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 17 deletions.
36 changes: 20 additions & 16 deletions .astylerc
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3c95774

Please sign in to comment.