summaryrefslogtreecommitdiff
path: root/src/corelib/gfxbase.pas
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/gfxbase.pas')
-rw-r--r--src/corelib/gfxbase.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/gfxbase.pas b/src/corelib/gfxbase.pas
index 9b3f5b47..7d6b34b0 100644
--- a/src/corelib/gfxbase.pas
+++ b/src/corelib/gfxbase.pas
@@ -878,7 +878,7 @@ begin
DoSetLineStyle(1, lsSolid);
DoSetColor(TextColor);
- DoDrawLine(x, Font.Height-underline, x+Font.TextWidth(txt), Font.Height-underline);
+ DoDrawLine(x, y+Font.Height-underline, x+Font.TextWidth(txt), y+Font.Height-underline);
end;
end;