(HistList.pas) Length of string with length() and SetLength instead of char at index 0

Original Reporter info from Mantis: jc99
  • Reporter name: Joe care

Description:

Handling the length of a string should be done with setlength and length.

Additional information:

Patch provided
& UnitTest

Mantis conversion info:

  • Mantis ID: 37777
  • OS: Win64
  • OS Build: 10
  • Build: latest
  • Platform: x86-64
  • Version: 3.3.1