TStringList.IndexOf fails with widechars
Original Reporter info from Mantis: MarkMLl @MarkMLl
-
Reporter name: Mark Morgan Lloyd
Original Reporter info from Mantis: MarkMLl @MarkMLl
- Reporter name: Mark Morgan Lloyd
Description:
Attached program adds widechars to stringlist returning 0 through 4, but IndexOf always returns zero.
Steps to reproduce:
Run attached program.
Additional information:
I think this probably affects widechars above #$00ff, I didn't spot it while working with characters up to and including #$00f7.
Mantis conversion info:
- Mantis ID: 21195
- OS: Linux
- OS Build: Debian Squeeze
- Build: 20200
- Platform: x86 and others
- Version: 2.7.1
- Fixed in version: 3.0.0
- Fixed in revision: 23613 (#fe4b5ea8)