in case its NULL

pull/516/head
Pavlos Vinieratos 9 years ago
parent 9ecf9073b9
commit 1a7e954f9f

@ -22,8 +22,10 @@ static void _process_tap_dance_action_pair (qk_tap_dance_state_t *state,
static void _process_tap_dance_action_fn (qk_tap_dance_state_t *state, static void _process_tap_dance_action_fn (qk_tap_dance_state_t *state,
qk_tap_dance_user_fn_t fn) qk_tap_dance_user_fn_t fn)
{ {
if (fn) {
fn(state); fn(state);
} }
}
void process_tap_dance_action (uint16_t keycode) void process_tap_dance_action (uint16_t keycode)
{ {

Loading…
Cancel
Save