diff options
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r-- | src/ui/documentwidget.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 69461901..2e81838f 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -670,9 +670,10 @@ static void updateWindowTitle_DocumentWidget_(const iDocumentWidget *d) { | |||
670 | const iChar siteIcon = siteIcon_GmDocument(d->doc); | 670 | const iChar siteIcon = siteIcon_GmDocument(d->doc); |
671 | if (siteIcon) { | 671 | if (siteIcon) { |
672 | if (!isEmpty_String(text)) { | 672 | if (!isEmpty_String(text)) { |
673 | prependCStr_String(text, " "); | 673 | prependCStr_String(text, " " restore_ColorEscape); |
674 | } | 674 | } |
675 | prependChar_String(text, siteIcon); | 675 | prependChar_String(text, siteIcon); |
676 | prependCStr_String(text, escape_Color(uiIcon_ColorId)); | ||
676 | } | 677 | } |
677 | const int width = advanceRange_Text(default_FontId, range_String(text)).x; | 678 | const int width = advanceRange_Text(default_FontId, range_String(text)).x; |
678 | if (width <= avail || | 679 | if (width <= avail || |