diff options
author | Ryan <fauxpark@gmail.com> | 2022-12-30 11:48:05 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-30 11:48:05 +1100 |
commit | 801d2ff940a5f19ee4fa7df992e86d1fd1daf610 (patch) | |
tree | 90ae25746c3ccf245c43a74fea4f2741255134c4 /users/haervig | |
parent | 2b61cc739fa3ec24391752335c92703862726544 (diff) |
Remove useless line continuations (#19399)
Diffstat (limited to 'users/haervig')
-rw-r--r-- | users/haervig/haervig.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/users/haervig/haervig.c b/users/haervig/haervig.c index d03b43edc1..7a0d1aaadf 100644 --- a/users/haervig/haervig.c +++ b/users/haervig/haervig.c @@ -164,21 +164,21 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { case CU_2: NORM_ALGR(DK_2, KC_NUHS) case CU_4: - if (record->event.pressed) { \ - timer_timeout(); \ - if (lshift || rshift) { \ - register_code(KC_LSFT); \ - register_code(KC_ALGR); \ - unregister_code(KC_3); \ - tap_code(KC_3); \ - unregister_code(KC_3); \ - } else { \ - unregister_code(KC_4); \ - tap_code(KC_4); \ - } \ - unregister_code(KC_ALGR); \ - unregister_code(KC_LSFT); \ - } \ + if (record->event.pressed) { + timer_timeout(); + if (lshift || rshift) { + register_code(KC_LSFT); + register_code(KC_ALGR); + unregister_code(KC_3); + tap_code(KC_3); + unregister_code(KC_3); + } else { + unregister_code(KC_4); + tap_code(KC_4); + } + unregister_code(KC_ALGR); + unregister_code(KC_LSFT); + } return false; case CU_6: SHIFT_NORM(DK_6, KC_RBRC) |