summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakeshi ISHII <2170248+mtei@users.noreply.github.com>2020-04-23 07:56:22 +0900
committerGitHub <noreply@github.com>2020-04-23 08:56:22 +1000
commitbafa35ff46e8a6d1d2eaad09ce3757f919aa9ff3 (patch)
treeb014378c767b247221da3f6c7e14fdf9cf027841
parentc1c579c554839b5bea1b23480837d9b67faf87d4 (diff)
fix sample code indent in feature_encoders.md (#8883)
-rw-r--r--docs/feature_encoders.md2
-rw-r--r--docs/ja/feature_encoders.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/feature_encoders.md b/docs/feature_encoders.md
index 4a0ae60c31..7799b78d6e 100644
--- a/docs/feature_encoders.md
+++ b/docs/feature_encoders.md
@@ -61,7 +61,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
} else {
tap_code(KC_PGUP);
}
- } else if (index == 1) { /* Second encoder */
+ } else if (index == 1) { /* Second encoder */
if (clockwise) {
tap_code(KC_DOWN);
} else {
diff --git a/docs/ja/feature_encoders.md b/docs/ja/feature_encoders.md
index 0e35e7dc86..7f8922652d 100644
--- a/docs/ja/feature_encoders.md
+++ b/docs/ja/feature_encoders.md
@@ -66,7 +66,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
} else {
tap_code(KC_PGUP);
}
- } else if (index == 1) { /* Second encoder */
+ } else if (index == 1) { /* Second encoder */
if (clockwise) {
tap_code(KC_DOWN);
} else {