Bug in TStringList.Find
Original Reporter info from Mantis: Michl @michl1
-
Reporter name: Michl
Original Reporter info from Mantis: Michl @michl1
- Reporter name: Michl
Description:
In some situations, an entry is not found
Steps to reproduce:
Create a simple program, with a empty StringList and add this Strings:
SL.Add('b');
SL.Add('a');
// SL.Add('c');
With a added 'c', SL.Find('a', aIndex) -> 'a' would be found!
With no added 'c', SL.Find('a', aIndex) -> 'a' wouldn't be found!
Additional information:
Small example attached.
Mantis conversion info:
- Mantis ID: 26436
- OS: 7
- OS Build: 64bit
- Build: 28102
- Platform: Windows
- Version: 2.7.1