summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorNick Choi <iinikchi@gmail.com>2017-05-15 01:52:45 -0400
committerNick Choi <iinikchi@gmail.com>2017-05-15 01:52:45 -0400
commiteb660ef2184565c6bb69f1f67f7af8918d15688f (patch)
tree846c1d340c39beeb2ada423ea7f68ff1d399e1ec /quantum
parentb2b72058e5a29dff3f28761c2d0bb5f035c2f710 (diff)
emoji support but
Diffstat (limited to 'quantum')
-rw-r--r--quantum/process_keycode/process_unicodemap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/process_keycode/process_unicodemap.c b/quantum/process_keycode/process_unicodemap.c
index 0227fbdd7b..75f35112b1 100644
--- a/quantum/process_keycode/process_unicodemap.c
+++ b/quantum/process_keycode/process_unicodemap.c
@@ -49,7 +49,7 @@ bool process_unicode_map(uint16_t keycode, keyrecord_t *record) {
if ((keycode & QK_UNICODE_MAP) == QK_UNICODE_MAP && record->event.pressed) {
const uint32_t* map = unicode_map;
uint16_t index = keycode - QK_UNICODE_MAP;
- uint32_t code = pgm_read_dword_far(&map[index]);
+ uint32_t code = pgm_read_dword(&map[index]);
if (code > 0xFFFF && code <= 0x10ffff && input_mode == UC_OSX) {
// Convert to UTF-16 surrogate pair
code -= 0x10000;