summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Vandyke <kzar@kzar.co.uk>2021-05-14 16:30:21 +0100
committerGitHub <noreply@github.com>2021-05-14 08:30:21 -0700
commit75da5e974255b8cdb11bcef181748433e0dcdb38 (patch)
tree0bb411bc608535cdf0c087b8aadcf6ed39e3c06e
parent36a2297deb54e9cc246f9f0697eca079f4d575a6 (diff)
downloadqmk_firmware-75da5e974255b8cdb11bcef181748433e0dcdb38.tar.gz
qmk_firmware-75da5e974255b8cdb11bcef181748433e0dcdb38.zip
[Keymap] Fix QWERTY/DVORAK status output for kzar keymap (#12895)
-rw-r--r--keyboards/kinesis/kint36/keymaps/kzar/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/kinesis/kint36/keymaps/kzar/keymap.c b/keyboards/kinesis/kint36/keymaps/kzar/keymap.c
index 20b1352683..524792de81 100644
--- a/keyboards/kinesis/kint36/keymaps/kzar/keymap.c
+++ b/keyboards/kinesis/kint36/keymaps/kzar/keymap.c
@@ -375,7 +375,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
SEND_STRING("Keyboard> " QMK_KEYBOARD "\n");
SEND_STRING("Keymap> " QMK_KEYMAP "\n");
- if (layer_state_is(_QWERTY))
+ if (layer_state_cmp(default_layer_state, _QWERTY))
SEND_STRING("Layout> QWERTY\n");
else
SEND_STRING("Layout> DVORAK\n");