diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/fpg_basegrid.pas | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/fpg_basegrid.pas b/src/gui/fpg_basegrid.pas index a6fc930e..ebfaa074 100644 --- a/src/gui/fpg_basegrid.pas +++ b/src/gui/fpg_basegrid.pas @@ -632,8 +632,8 @@ begin // if we don't want any scrollbars, hide them and exit if FScrollBarStyle = ssNone then begin - hideScrollbar (FHScrollBar); - hideScrollbar (FVScrollBar); + hideScrollbar(FHScrollBar); + hideScrollbar(FVScrollBar); exit; end; @@ -1475,7 +1475,7 @@ begin w := 0; for n := FFocusCol downto FFirstCol do begin - w := w + ColumnWidth[n]+1; + w := w + ColumnWidth[n]; if w > VisibleWidth then begin if n = FFocusCol then |