Skip to content

Commit 59a93ff

Browse files
kimci86eXpl0it3r
authored andcommitted
Fix virtual code translation to text for dead keys on macOS
1 parent 752955c commit 59a93ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SFML/Window/OSX/HIDInputManager.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@
866866
// Use current layout for translation
867867
OSStatus error = UCKeyTranslate(
868868
layout, virtualCode, kUCKeyActionDown, modifiers, LMGetKbdType(),
869-
kUCKeyTranslateNoDeadKeysBit, &deadKeyState, MAX_LENGTH, &length, string
869+
kUCKeyTranslateNoDeadKeysMask, &deadKeyState, MAX_LENGTH, &length, string
870870
);
871871

872872
if (error != noErr)

0 commit comments

Comments
 (0)