mirror of
https://github.com/Noratrieb/nilstrieb-c-style-guide-edition-2.git
synced 2026-01-17 00:35:07 +01:00
deploy: c98f09048c
This commit is contained in:
parent
47144e77d1
commit
52edb5c934
3 changed files with 6 additions and 6 deletions
|
|
@ -159,9 +159,9 @@ body cannot fit into a single line, make a new function instead.</p>
|
||||||
|
|
||||||
void foo() {
|
void foo() {
|
||||||
if (true)
|
if (true)
|
||||||
foo_if_body();
|
foo_if_body();
|
||||||
else
|
else
|
||||||
printf("True was false!");
|
printf("True was false!");
|
||||||
}
|
}
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<h2 id="identation"><a class="header" href="#identation">Identation</a></h2>
|
<h2 id="identation"><a class="header" href="#identation">Identation</a></h2>
|
||||||
|
|
|
||||||
|
|
@ -159,9 +159,9 @@ body cannot fit into a single line, make a new function instead.</p>
|
||||||
|
|
||||||
void foo() {
|
void foo() {
|
||||||
if (true)
|
if (true)
|
||||||
foo_if_body();
|
foo_if_body();
|
||||||
else
|
else
|
||||||
printf("True was false!");
|
printf("True was false!");
|
||||||
}
|
}
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<h2 id="identation"><a class="header" href="#identation">Identation</a></h2>
|
<h2 id="identation"><a class="header" href="#identation">Identation</a></h2>
|
||||||
|
|
|
||||||
|
|
@ -160,9 +160,9 @@ body cannot fit into a single line, make a new function instead.</p>
|
||||||
|
|
||||||
void foo() {
|
void foo() {
|
||||||
if (true)
|
if (true)
|
||||||
foo_if_body();
|
foo_if_body();
|
||||||
else
|
else
|
||||||
printf("True was false!");
|
printf("True was false!");
|
||||||
}
|
}
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<h2 id="identation"><a class="header" href="#identation">Identation</a></h2>
|
<h2 id="identation"><a class="header" href="#identation">Identation</a></h2>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue