From 374f74fddcccfdf06ff70b040e3e6f4673396c68 Mon Sep 17 00:00:00 2001 From: cxl Date: Wed, 16 Mar 2016 09:57:12 +0000 Subject: [PATCH] .cosmetics git-svn-id: svn://ultimatepp.org/upp/trunk@9605 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Draw/DrawText.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uppsrc/Draw/DrawText.cpp b/uppsrc/Draw/DrawText.cpp index afda5ff9f..896752bf4 100644 --- a/uppsrc/Draw/DrawText.cpp +++ b/uppsrc/Draw/DrawText.cpp @@ -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);