From 3c8f140dc0cca95c7543d6a218d9eda51d3bb60e Mon Sep 17 00:00:00 2001 From: lazarus-bart Date: Wed, 1 May 2013 13:07:24 +0000 Subject: [PATCH] LazEdit: MruLists.pp: don't Trim filenames when adding, it's wrong. git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2735 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- applications/lazedit/mrulists.pp | 1 - 1 file changed, 1 deletion(-) diff --git a/applications/lazedit/mrulists.pp b/applications/lazedit/mrulists.pp index b8489c556..fb068df59 100644 --- a/applications/lazedit/mrulists.pp +++ b/applications/lazedit/mrulists.pp @@ -302,7 +302,6 @@ procedure TMruList.Add(Item: String; const DoNormalizeName: Boolean = False); //If Item is already in the list, then it gets moved to Index = 0 var Index: Integer; begin - Item := Trim(Item); if (FMaxEntries <= 0) or (Item = '') then Exit; Item := ExpandFileName(Item); if DoNormalizeName then Item := GetFileNameOnDisk(Item);