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, 2 insertions, 2 deletions
diff --git a/src/ui/text.c b/src/ui/text.c
index 9532e35a..8cf4464e 100644
--- a/src/ui/text.c
+++ b/src/ui/text.c
@@ -946,10 +946,10 @@ static iRect run_Font_(iFont *d, const iRunArgs *args) {
946 prevCh = 0; 946 prevCh = 0;
947 continue; 947 continue;
948 } 948 }
949 if (ch == '\r') { /* color change */ 949 if (ch == '\v') { /* color change */
950 iChar esc = nextChar_(&chPos, args->text.end); 950 iChar esc = nextChar_(&chPos, args->text.end);
951 int colorNum = args->color; 951 int colorNum = args->color;
952 if (esc == '\r') { /* Extended range. */ 952 if (esc == '\v') { /* Extended range. */
953 esc = nextChar_(&chPos, args->text.end) + asciiExtended_ColorEscape; 953 esc = nextChar_(&chPos, args->text.end) + asciiExtended_ColorEscape;
954 colorNum = esc - asciiBase_ColorEscape; 954 colorNum = esc - asciiBase_ColorEscape;
955 } 955 }