From 801d2ff940a5f19ee4fa7df992e86d1fd1daf610 Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 30 Dec 2022 11:48:05 +1100 Subject: Remove useless line continuations (#19399) --- users/haervig/haervig.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'users/haervig') 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) -- cgit v1.2.3