Report: Fixed Report issue

git-svn-id: svn://ultimatepp.org/upp/trunk@15922 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2021-04-17 15:07:36 +00:00
parent 04a335d719
commit edc8f70ebd

View file

@ -51,7 +51,9 @@ Rect Report::GetPageRect()
void Report::PaintHF(Draw& w, int y, const char *qtf, int i)
{
RichText txt = ParseQTF(FormatHF(qtf, i));
txt.Paint(w, 0, y, GetSize().cx);
PaintInfo pi;
pi.textcolor = Black();
txt.Paint(w, 0, y, GetSize().cx, pi);
}
void Report::Flush()