diff options
Diffstat (limited to 'src/ui/text.c')
-rw-r--r-- | src/ui/text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/text.c b/src/ui/text.c index 2ef54d39..436ec208 100644 --- a/src/ui/text.c +++ b/src/ui/text.c | |||
@@ -1076,7 +1076,7 @@ static void prepare_AttributedText_(iAttributedText *d, int overrideBaseDir, iCh | |||
1076 | attribFont = font_Text_(fontWithStyle_Text(fontId_Text_(d->baseFont), | 1076 | attribFont = font_Text_(fontWithStyle_Text(fontId_Text_(d->baseFont), |
1077 | italic_FontStyle)); | 1077 | italic_FontStyle)); |
1078 | } | 1078 | } |
1079 | else if (ansi & allowFontStyle_AnsiFlag && equal_Rangecc(sequence, "4")) { | 1079 | else if (ansi & allowFontStyle_AnsiFlag && equal_Rangecc(sequence, "11")) { |
1080 | run.attrib.monospace = iTrue; | 1080 | run.attrib.monospace = iTrue; |
1081 | setFgColor_AttributedRun_(&run, tmPreformatted_ColorId); | 1081 | setFgColor_AttributedRun_(&run, tmPreformatted_ColorId); |
1082 | attribFont = font_Text_(fontWithFamily_Text(fontId_Text_(d->baseFont), | 1082 | attribFont = font_Text_(fontWithFamily_Text(fontId_Text_(d->baseFont), |