This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=7cf0faa61a8777a79998c25babe082840ab97606 commit 7cf0faa61a8777a79998c25babe082840ab97606 Author: Guillem Jover <[email protected]> AuthorDate: Fri Oct 7 04:36:15 2022 +0200 doc: Fix typos in coding-style.txt Chsngelog: silent --- doc/coding-style.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/coding-style.txt b/doc/coding-style.txt index 237ea5f7b..af0459236 100644 --- a/doc/coding-style.txt +++ b/doc/coding-style.txt @@ -29,8 +29,8 @@ Quoting and indentation Code and arguments that wrap into the next line are indented by two spaces. -In principle all macro argument should always be quoted. Which gives brings -one of the biggest readability issues with M4sh/Autoconf code, the amount of +In principle all macro argument should always be quoted. Which brings one +of the biggest readability issues with M4sh/Autoconf code, the amount of consecutive quotes and parenthesis pairs, which can make it very hard to notice if they are unbalanced. To avoid this we use a style that tries to avoid more than two consecutive blocks of «])». @@ -194,14 +194,14 @@ When wrapping, logical operators should be kept on the preceding line: really_long_variable_to_be_checked_against_b) foo(); -Spaces between operators: +Spaces around operators: if (a && (b || c) && c == d) break; a = (b + 4 * (5 - 6)) & 0xff; -Spaces between assignments: +Spaces around assignments: a += b; -- Dpkg.Org's dpkg

