OSDN Git Service
(root)
/
gikonavigoeson
/
gikonavi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec46e12
)
スレ一覧の底の方にフォーカスがあって、スレ一覧を更新したときに、スレ一覧のアイテム数が
author
h677
<h677>
Mon, 8 Nov 2004 14:40:23 +0000
(14:40 +0000)
committer
h677
<h677>
Mon, 8 Nov 2004 14:40:23 +0000
(14:40 +0000)
更新前より少ないとエラーがでて、終了するしかなくなる不具合の修正
Giko.pas
patch
|
blob
|
history
diff --git
a/Giko.pas
b/Giko.pas
index
1eb3de9
..
be28f43
100644
(file)
--- a/
Giko.pas
+++ b/
Giko.pas
@@
-4045,7
+4045,9
@@
begin
SetThreadListItem(TBoard(Obj));
end;
- if idx >= 0 then begin
+ if idx >= 0 then begin
+ if idx >= ListView.Items.Count then
+ idx := ListView.Items.Count - 1;
ListView.ItemIndex := idx;
ListView.ItemFocused := ListView.Items.Item[ idx ];
end;