summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ui/text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/text.c b/src/ui/text.c
index 15959150..60337c10 100644
--- a/src/ui/text.c
+++ b/src/ui/text.c
@@ -74,7 +74,7 @@ void deinit_Glyph(iGlyph *d) {
74 iUnused(d); 74 iUnused(d);
75} 75}
76 76
77iChar char_Glyph(const iGlyph *d) { 77iChar codepoint_Glyph(const iGlyph *d) {
78 return d->node.key; 78 return d->node.key;
79} 79}
80 80
@@ -514,7 +514,7 @@ iLocalDef iFont *characterFont_Font_(iFont *d, iChar ch, uint32_t *glyphIndex) {
514 } 514 }
515 } 515 }
516 /* Could be Korean. */ 516 /* Could be Korean. */
517 if (ch > 0x3000) { 517 if (ch >= 0x3000) {
518 iFont *korean = font_Text_(d->koreanFont); 518 iFont *korean = font_Text_(d->koreanFont);
519 if (korean != d && (*glyphIndex = glyphIndex_Font_(korean, ch)) != 0) { 519 if (korean != d && (*glyphIndex = glyphIndex_Font_(korean, ch)) != 0) {
520 return korean; 520 return korean;