.cosmetics

git-svn-id: svn://ultimatepp.org/upp/trunk@9605 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2016-03-16 09:57:12 +00:00
parent 38caad8a07
commit 374f74fddc

View file

@ -113,7 +113,7 @@ void Draw::DrawText(int x, int y, int angle, const wchar *text, Font font,
posx += dx ? *dx++ : gi.width;
}
if((GetInfo() & DRAWTEXTLINES) && (font0.IsUnderline() || font0.IsStrikeout())) {
if((GetInfo() & DRAWTEXTLINES) && (font0.IsUnderline() || font0.IsStrikeout())) {
int hg = abs(font0.GetCy());
if(hg == 0) hg = 10;
int thickness = max(hg / 20, 1);