Skip to content

Commit 1059c26

Browse files
committed
AStyle: don't indent cases
This was a bug in our configuration. Earlier versions of our style did not specify this option. We found out for some code in our codebase that it was changed because of the setting. An example: ``` case: { // code here } //would be changed to case: { // code here } ``` The first one is correct and do not need to be indented (it's enough switch is indented).
1 parent 1863400 commit 1059c26

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

.astylerc

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ convert-tabs
1616

1717
# Indent switches and cases
1818
indent-switches
19-
indent-cases
2019

2120
# Remove spaces in and around parentheses
2221
unpad-paren

0 commit comments

Comments
 (0)