mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-01 15:52:41 -06:00
.cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@9605 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
38caad8a07
commit
374f74fddc
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue