diff options
author | Drashna Jaelre <drashna@live.com> | 2019-10-18 16:59:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-18 16:59:03 -0700 |
commit | 22cc56bc975a8fde45fd08a7ed20897cf3a465c8 (patch) | |
tree | 66c736998e15ef8aa1e9cdbba937ba5006313d72 /docs/coding_conventions_c.md | |
parent | de5cadd63669119a6ba83757780dc66bb8f2816c (diff) | |
download | qmk_firmware-22cc56bc975a8fde45fd08a7ed20897cf3a465c8.tar.gz qmk_firmware-22cc56bc975a8fde45fd08a7ed20897cf3a465c8.zip |
[Docs] Fix incorrect spacing on Coding Conventions page (#7058)
Diffstat (limited to 'docs/coding_conventions_c.md')
-rw-r--r-- | docs/coding_conventions_c.md | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/coding_conventions_c.md b/docs/coding_conventions_c.md index cbddedf8b..08994bfbb 100644 --- a/docs/coding_conventions_c.md +++ b/docs/coding_conventions_c.md | |||
@@ -31,17 +31,17 @@ Here is an example for easy reference: | |||
31 | ```c | 31 | ```c |
32 | /* Enums for foo */ | 32 | /* Enums for foo */ |
33 | enum foo_state { | 33 | enum foo_state { |
34 | FOO_BAR, | 34 | FOO_BAR, |
35 | FOO_BAZ, | 35 | FOO_BAZ, |
36 | }; | 36 | }; |
37 | 37 | ||
38 | /* Returns a value */ | 38 | /* Returns a value */ |
39 | int foo(void) { | 39 | int foo(void) { |
40 | if (some_condition) { | 40 | if (some_condition) { |
41 | return FOO_BAR; | 41 | return FOO_BAR; |
42 | } else { | 42 | } else { |
43 | return -1; | 43 | return -1; |
44 | } | 44 | } |
45 | } | 45 | } |
46 | ``` | 46 | ``` |
47 | 47 | ||