mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 12:26:02 +02:00
removed unneeded Trim() from chm fiftimain
git-svn-id: trunk@20418 -
This commit is contained in:
parent
0cd9e7fee9
commit
3dd4514724
@ -536,8 +536,9 @@ begin
|
|||||||
FBlockStream.WriteByte(Offset);
|
FBlockStream.WriteByte(Offset);
|
||||||
|
|
||||||
// length can be 0 if it is the same word as the last. there is a word entry each for title and content
|
// length can be 0 if it is the same word as the last. there is a word entry each for title and content
|
||||||
|
|
||||||
if Length(NewWord) > 0 then
|
if Length(NewWord) > 0 then
|
||||||
FBlockStream.Write(NewWord[1], Length(Trim(NewWord)));
|
FBlockStream.Write(NewWord[1], Length(NewWord));
|
||||||
|
|
||||||
FBlockStream.WriteByte(Ord(AWord.IsTitle));
|
FBlockStream.WriteByte(Ord(AWord.IsTitle));
|
||||||
WriteCompressedIntegerBE(FBlockStream, AWord.DocumentCount);
|
WriteCompressedIntegerBE(FBlockStream, AWord.DocumentCount);
|
||||||
|
Loading…
Reference in New Issue
Block a user