You've already forked lazarus-ccr
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
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user