aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-10-18 16:59:03 -0700
committerGitHub <noreply@github.com>2019-10-18 16:59:03 -0700
commit22cc56bc975a8fde45fd08a7ed20897cf3a465c8 (patch)
tree66c736998e15ef8aa1e9cdbba937ba5006313d72
parentde5cadd63669119a6ba83757780dc66bb8f2816c (diff)
downloadqmk_firmware-22cc56bc975a8fde45fd08a7ed20897cf3a465c8.tar.gz
qmk_firmware-22cc56bc975a8fde45fd08a7ed20897cf3a465c8.zip
[Docs] Fix incorrect spacing on Coding Conventions page (#7058)
-rw-r--r--docs/coding_conventions_c.md14
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 */
33enum foo_state { 33enum 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 */
39int foo(void) { 39int 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