diff options
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r-- | src/ui/documentwidget.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 7687ec16..b3565af9 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -933,8 +933,9 @@ static void drawRun_DrawContext_(void *context, const iGmRun *run) { | |||
933 | iDate date; | 933 | iDate date; |
934 | init_Date(&date, linkTime_GmDocument(doc, run->linkId)); | 934 | init_Date(&date, linkTime_GmDocument(doc, run->linkId)); |
935 | appendFormat_String(&str, | 935 | appendFormat_String(&str, |
936 | " \u2014 %s", | 936 | " \u2014 %s%s", |
937 | cstr_String(collect_String(format_Date(&date, "%b %d")))); | 937 | escape_Color(fg), |
938 | cstr_String(collect_String(format_Date(&date, "%b %d")))); | ||
938 | } | 939 | } |
939 | if (!isEmpty_String(&str)) { | 940 | if (!isEmpty_String(&str)) { |
940 | const iInt2 textSize = measure_Text(default_FontId, cstr_String(&str)); | 941 | const iInt2 textSize = measure_Text(default_FontId, cstr_String(&str)); |