summaryrefslogtreecommitdiff
path: root/src/ui/text.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/text.c')
-rw-r--r--src/ui/text.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/text.c b/src/ui/text.c
index 5ddadc1b..88254aad 100644
--- a/src/ui/text.c
+++ b/src/ui/text.c
@@ -416,6 +416,10 @@ static iRect run_Font_(iFont *d, enum iRunMode mode, iRangecc text, size_t maxLe
416 } 416 }
417 } 417 }
418 iChar ch = nextChar_(&chPos, text.end); 418 iChar ch = nextChar_(&chPos, text.end);
419 if (ch == variationSelectorEmoji_Char) {
420 /* TODO: Should peek ahead for this and prefer the Emoji font. */
421 ch = nextChar_(&chPos, text.end); /* just ignore */
422 }
419 /* Special instructions. */ { 423 /* Special instructions. */ {
420 if (ch == '\n') { 424 if (ch == '\n') {
421 xpos = pos.x; 425 xpos = pos.x;