small semantic change in action_function
authorgirst <girst@users.noreply.github.com>
Thu, 14 Dec 2017 19:27:33 +0000 (20:27 +0100)
committergirst <girst@users.noreply.github.com>
Thu, 14 Dec 2017 19:27:33 +0000 (20:27 +0100)
L79-83 contain two statements; use comma operator to seperate them

keyboard/tv44/keymap_tv44.c

index 123e10182a70a1bf8a76d3dcff6bed7ffa9b1c93..0fe34869b19709002d26711e1349ea0f903118ad 100644 (file)
@@ -76,11 +76,11 @@ void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) {
                   switching to slashes. */
                if (record->event.pressed) {
                        slqu_pressed = shifted?KC_MINS:KC_7;
-                       add_weak_mods(MOD_BIT(KC_LSHIFT));      send_keyboard_report();
-                       add_key(slqu_pressed);                  send_keyboard_report();
+                       add_weak_mods(MOD_BIT(KC_LSHIFT)), send_keyboard_report();
+                       add_key(slqu_pressed),             send_keyboard_report();
                } else {
-                       del_key(slqu_pressed);                  send_keyboard_report();
-                       del_weak_mods(MOD_BIT(KC_LSHIFT));      send_keyboard_report();
+                       del_key(slqu_pressed),             send_keyboard_report();
+                       del_weak_mods(MOD_BIT(KC_LSHIFT)), send_keyboard_report();
                }
                break;
        }
Imprint / Impressum