summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ui/text.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/text.c b/src/ui/text.c
index abfefe80..6642b9ef 100644
--- a/src/ui/text.c
+++ b/src/ui/text.c
@@ -999,6 +999,7 @@ static iRect run_Font_(iFont *d, const iRunArgs *args) {
999 if (!isRasterized_Glyph_(glyph, hoff)) { 999 if (!isRasterized_Glyph_(glyph, hoff)) {
1000 /* Need to pause here and make sure all glyphs have been cached in the text. */ 1000 /* Need to pause here and make sure all glyphs have been cached in the text. */
1001 cacheTextGlyphs_Font_(d, args->text); 1001 cacheTextGlyphs_Font_(d, args->text);
1002 glyph = glyph_Font_(d, ch); /* cache may have been reset */
1002 } 1003 }
1003 int x2 = x1 + glyph->rect[hoff].size.x; 1004 int x2 = x1 + glyph->rect[hoff].size.x;
1004 /* Out of the allotted space? */ 1005 /* Out of the allotted space? */