summaryrefslogtreecommitdiff
path: root/src/gui/fpg_grid.pas
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/fpg_grid.pas')
-rw-r--r--src/gui/fpg_grid.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/fpg_grid.pas b/src/gui/fpg_grid.pas
index 5eda16f7..6d7579a0 100644
--- a/src/gui/fpg_grid.pas
+++ b/src/gui/fpg_grid.pas
@@ -483,7 +483,7 @@ begin
end; { case }
with ARect,Columns[ACol] do
- Canvas.DrawText(Left+HMargin,Top,Right-Left-HMargin,Bottom-Top, txt, Flags);
+ Canvas.DrawText(Left+HMargin, Top, Right-Left-(HMargin*2), Bottom-Top, txt, Flags);
end;
end;