Fix comment at sysutils.AdjustLineBreaks
Original Reporter info from Mantis: Alextp
-
Reporter name: CudaText man
Original Reporter info from Mantis: Alextp
- Reporter name: CudaText man
Description:
sysstr.inc
{ AdjustLineBreaks returns S with all CR characters not followed by LF
replaced with CR/LF }
// under Linux all CR characters or CR/LF combinations should be replaced with LF
this comment is misleading. What "should" mean. Programmer should? I suggest:
{ AdjustLineBreaks returns S with all occurances of CR+LF, CR (w/o LF), LF replaced
to one style, given by DefaultTextLineBreakStyle.
on Windows: CR (w/o LF) and LF will be replaced by CR+LF
on Unix: CR+LF, CR will be replaced by LF
on MacOS9: similar, by CR }
Mantis conversion info:
- Mantis ID: 30959
- Version: 3.1.1
- Fixed in version: 3.1.1
- Fixed in revision: 34969 (#3e21810d)
- Target version: 3.2.0