aboutsummaryrefslogtreecommitdiff
path: root/quantum/wpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/wpm.c')
-rw-r--r--quantum/wpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/wpm.c b/quantum/wpm.c
index e711e9fe7..cad4cefd5 100644
--- a/quantum/wpm.c
+++ b/quantum/wpm.c
@@ -56,7 +56,7 @@ __attribute__((weak)) uint8_t wpm_regress_count(uint16_t keycode) {
56 } else if (keycode > 0xFF) { 56 } else if (keycode > 0xFF) {
57 keycode = 0; 57 keycode = 0;
58 } 58 }
59 if (keycode == KC_DEL || keycode == KC_BSPC) { 59 if (keycode == KC_DELETE || keycode == KC_BACKSPACE) {
60 if (((get_mods() | get_oneshot_mods()) & MOD_MASK_CTRL) || weak_modded) { 60 if (((get_mods() | get_oneshot_mods()) & MOD_MASK_CTRL) || weak_modded) {
61 return WPM_ESTIMATED_WORD_SIZE; 61 return WPM_ESTIMATED_WORD_SIZE;
62 } else { 62 } else {