]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
[Docs] Fix incorrect spacing on Coding Conventions page (#7058)
authorDrashna Jaelre <drashna@live.com>
Fri, 18 Oct 2019 23:59:03 +0000 (16:59 -0700)
committerGitHub <noreply@github.com>
Fri, 18 Oct 2019 23:59:03 +0000 (16:59 -0700)
docs/coding_conventions_c.md

index cbddedf8b0f32e27205daf2c12cfbc64e4ccfe02..08994bfbb74606594f6b4c7ef1961d835926b3e4 100644 (file)
@@ -31,17 +31,17 @@ Here is an example for easy reference:
 ```c
 /* Enums for foo */
 enum foo_state {
-  FOO_BAR,
-  FOO_BAZ,
+    FOO_BAR,
+    FOO_BAZ,
 };
 
 /* Returns a value */
 int foo(void) {
-  if (some_condition) {
-    return FOO_BAR;
-  } else {
-    return -1;
-  }
+    if (some_condition) {
+        return FOO_BAR;
+    } else {
+        return -1;
+    }
 }
 ```