Skip to content

Commit

Permalink
input: fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
na-na-hi committed Nov 1, 2024
1 parent eec13c0 commit b3525da
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions input/input.c
Original file line number Diff line number Diff line change
Expand Up @@ -1427,8 +1427,7 @@ static int parse_config(struct input_ctx *ictx, bool builtin, bstr data,
char *name = bstrdup0(NULL, keyname);
int keys[MP_MAX_KEY_DOWN];
int num_keys = 0;
if (!mp_input_get_keys_from_string(name, MP_MAX_KEY_DOWN, &num_keys, keys))
{
if (!mp_input_get_keys_from_string(name, MP_MAX_KEY_DOWN, &num_keys, keys)) {
talloc_free(name);
MP_ERR(ictx, "Unknown key '%.*s' at %s\n", BSTR_P(keyname), cur_loc);
continue;
Expand Down

0 comments on commit b3525da

Please sign in to comment.