Changeset 30 for trunk/UAcronym.pas
- Timestamp:
- Jul 12, 2016, 5:56:39 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UAcronym.pas
r29 r30 525 525 T: string; 526 526 LastLength: Integer; 527 AddedAcronym: TAcronymMeaning; 527 528 begin 528 529 ItemCount := 0; … … 587 588 ivAcronym: NewAcronym.Name := T; 588 589 ivMeaning: NewAcronym.Meaning := T; 590 ivDescription: NewAcronym.Description := T; 589 591 end; 590 592 Delete(S, 1, P + Length(EndString) - 1); … … 592 594 if (Flag = ipfNewItem) and (Trim(NewAcronym.Name) <> '') and 593 595 (Trim(NewAcronym.Meaning) <> '') then begin 594 Sources.AcronymDb.AddAcronym(NewAcronym.Name, NewAcronym.Meaning); 596 AddedAcronym := Sources.AcronymDb.AddAcronym(NewAcronym.Name, NewAcronym.Meaning); 597 AddedAcronym.Description := NewAcronym.Description; 595 598 Inc(ItemCount); 596 599 end;
Note:
See TracChangeset
for help on using the changeset viewer.