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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/text.c b/src/ui/text.c
index 40956e29..a4a3804d 100644
--- a/src/ui/text.c
+++ b/src/ui/text.c
@@ -434,6 +434,7 @@ static iRect run_Font_(iFont *d, enum iRunMode mode, iRangecc text, size_t maxLe
434 /* ANSI escape. */ 434 /* ANSI escape. */
435 chPos++; 435 chPos++;
436 iRegExpMatch m; 436 iRegExpMatch m;
437 init_RegExpMatch(&m);
437 if (match_RegExp(text_.ansiEscape, chPos, text.end - chPos, &m)) { 438 if (match_RegExp(text_.ansiEscape, chPos, text.end - chPos, &m)) {
438 if (mode == draw_RunMode) { 439 if (mode == draw_RunMode) {
439 /* Change the color. */ 440 /* Change the color. */