Skip to content

Commit

Permalink
Fixed the OutOfBounds issue with CC
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnPeel committed Sep 14, 2014
1 parent 9664e12 commit cbe2312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Units/Misc/v_autocompleteform.pas
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ procedure TAutoCompleteListBox.setFilter(Filter: string);
Items.Append(fList[i]);

if (LowerCase(fInsertList[i]) = fFilter) then
ItemIndex := i;
ItemIndex := c;

fIndexList[c] := i;
Inc(c);
Expand Down

0 comments on commit cbe2312

Please sign in to comment.