mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-20 19:39:23 +02:00
LazUtils: slightly improved code in translations.pas without changing logic
git-svn-id: trunk@57317 -
This commit is contained in:
parent
d1e2b7bf71
commit
97eebaa8d9
@ -1612,7 +1612,6 @@ begin
|
||||
end;
|
||||
end;
|
||||
Item.Original:=Original;
|
||||
Item.Tag:=FTag;
|
||||
end
|
||||
else // in this case new item will be added
|
||||
FModified := true;
|
||||
@ -1684,11 +1683,12 @@ begin
|
||||
CurrentItem.Context := Context;
|
||||
CurrentItem.Flags := Flags;
|
||||
CurrentItem.PreviousID := PreviousID;
|
||||
CurrentItem.Tag := FTag;
|
||||
CurrentItem.LineNr := LineNr;
|
||||
NewItem := true;
|
||||
end;
|
||||
|
||||
CurrentItem.Tag := FTag;
|
||||
|
||||
if FoundItem <> nil then
|
||||
begin
|
||||
if FoundItem.IdentifierLow<>CurrentItem.IdentifierLow then
|
||||
|
Loading…
Reference in New Issue
Block a user