diff options
Diffstat (limited to 'quantum/process_keycode/process_unicodemap.c')
-rw-r--r-- | quantum/process_keycode/process_unicodemap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/process_keycode/process_unicodemap.c b/quantum/process_keycode/process_unicodemap.c index 1be51a995..5445cde12 100644 --- a/quantum/process_keycode/process_unicodemap.c +++ b/quantum/process_keycode/process_unicodemap.c | |||
@@ -43,7 +43,7 @@ bool process_unicodemap(uint16_t keycode, keyrecord_t *record) { | |||
43 | if (code > 0x10FFFF || (code > 0xFFFF && input_mode == UC_WIN)) { | 43 | if (code > 0x10FFFF || (code > 0xFFFF && input_mode == UC_WIN)) { |
44 | // Character is out of range supported by the platform | 44 | // Character is out of range supported by the platform |
45 | unicode_input_cancel(); | 45 | unicode_input_cancel(); |
46 | } else if (code > 0xFFFF && input_mode == UC_OSX) { | 46 | } else if (code > 0xFFFF && input_mode == UC_MAC) { |
47 | // Convert to UTF-16 surrogate pair on Mac | 47 | // Convert to UTF-16 surrogate pair on Mac |
48 | code -= 0x10000; | 48 | code -= 0x10000; |
49 | uint32_t lo = code & 0x3FF, hi = (code & 0xFFC00) >> 10; | 49 | uint32_t lo = code & 0x3FF, hi = (code & 0xFFC00) >> 10; |