Skip to content

Commit

Permalink
Parentheses sometimes matter
Browse files Browse the repository at this point in the history
  • Loading branch information
r-c-f committed Feb 2, 2022
1 parent cb76790 commit f61535a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wl_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ static void load_raw_keymap(struct wlContext *ctx)
rkey = strtol(val[i], &endstr, 0);
if (errno || endstr == val[i])
continue;
ctx->input.raw_keymap[lkey] = rkey + offset_on_explicit ? offset : 0;
ctx->input.raw_keymap[lkey] = rkey + (offset_on_explicit ? offset : 0);
logDbg("set raw key map: %d = %d", lkey, ctx->input.raw_keymap[lkey]);
}

Expand Down

0 comments on commit f61535a

Please sign in to comment.