From 479a7c6705ccfbaaf182489d555f92f66a546a94 Mon Sep 17 00:00:00 2001 From: graemeg Date: Thu, 22 May 2008 14:57:02 +0000 Subject: * Minor bugfix in gui_customgrid. * Minor bugfix in x11 backend and TextWidth calculation. --- src/gui/fpgui_package.lpk | 1 + src/gui/gui_customgrid.pas | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui') diff --git a/src/gui/fpgui_package.lpk b/src/gui/fpgui_package.lpk index 62d2a480..cf9d8736 100644 --- a/src/gui/fpgui_package.lpk +++ b/src/gui/fpgui_package.lpk @@ -159,6 +159,7 @@ + diff --git a/src/gui/gui_customgrid.pas b/src/gui/gui_customgrid.pas index 42f41fe2..1ed59e6f 100644 --- a/src/gui/gui_customgrid.pas +++ b/src/gui/gui_customgrid.pas @@ -170,7 +170,7 @@ begin // removing columns while n > AValue do begin - DoDeleteColumn(n); + DoDeleteColumn(n-1); dec(n); end; end; -- cgit v1.2.3-70-g09d2