summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2010-11-11 21:16:05 +0200
committerGraeme Geldenhuys <graemeg@gmail.com>2010-11-11 21:16:05 +0200
commit316705c596c74e13870f264635740d997f0473e8 (patch)
treeb8ba77fd456829794725bd6875c7c136430f948e /src
parent1cce04ca1225fdc2786dd0fa908314b6abc4caff (diff)
downloadfpGUI-316705c596c74e13870f264635740d997f0473e8.tar.xz
listview bugfix: removed index out of bounds error
Diffstat (limited to 'src')
-rw-r--r--src/gui/fpg_listview.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/fpg_listview.pas b/src/gui/fpg_listview.pas
index ecc1a409..dc9378b1 100644
--- a/src/gui/fpg_listview.pas
+++ b/src/gui/fpg_listview.pas
@@ -2067,7 +2067,7 @@ procedure TfpgListViewSubItems.Clear;
var
i: LongInt;
begin
- for i := FList.Count downto 0 do
+ for i := FList.Count-1 downto 0 do
Delete(i);
end;