Skip to content

Commit 3c2439b

Browse files
committed
Fix setting of fn modifier flag
1 parent 2d98ddd commit 3c2439b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/macos/keypress.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ void toggleKeyCode(MMKeyCode code, const bool down, MMKeyFlags flags) {
6868
flags |= MOD_SHIFT;
6969
}
7070
if (code == K_FUNCTION) {
71-
flags |= MOD_FUNCTION;
71+
flags |= MOD_FN;
7272
}
7373

7474
MMKeyFlags activeKeyFlags;

0 commit comments

Comments
 (0)