summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-05-22 14:57:02 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-05-22 14:57:02 +0000
commit479a7c6705ccfbaaf182489d555f92f66a546a94 (patch)
treed805019d94c439ca1f97f9e539a6dbf4e38f0f73 /src/gui
parentcaddcbd0b867032e9d8be9c40a8be237f7c6af17 (diff)
downloadfpGUI-479a7c6705ccfbaaf182489d555f92f66a546a94.tar.xz
* Minor bugfix in gui_customgrid.
* Minor bugfix in x11 backend and TextWidth calculation.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/fpgui_package.lpk1
-rw-r--r--src/gui/gui_customgrid.pas2
2 files changed, 2 insertions, 1 deletions
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 @@
</Item32>
<Item33>
<Filename Value="gui_panel.pas"/>
+ <UnitName Value="gui_panel"/>
</Item33>
</Files>
<LazDoc Paths="../../docs/xml/gui/"/>
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;