Changeset 227 for trunk/Core.pas
- Timestamp:
- Jan 20, 2025, 11:38:55 AM (42 hours ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Core.pas
r225 r227 18 18 ImageListSmall: TImageList; 19 19 ImageListLarge: TImageList; 20 JobProgressView1: TJobProgressView;21 20 MenuItem1: TMenuItem; 22 21 MenuItem19: TMenuItem; … … 53 52 procedure SaveConfig; 54 53 procedure ScaleDPI; 55 function CompareStrings(Strings1, Strings2: TStrings): Boolean;56 54 property AlwaysOnTop: Boolean read FAlwaysOnTop write SetAlwaysOnTop; 57 55 end; … … 100 98 FreeAndNil(StoredDimension); 101 99 FreeAndNil(AcronymDb); 102 end;103 104 function TCore.CompareStrings(Strings1, Strings2: TStrings): Boolean;105 var106 I: Integer;107 begin108 Result := Strings1.Count = Strings2.Count;109 if not Result then Exit;110 for I := 0 to Strings1.Count - 1 do111 if (Strings1[I] <> Strings2[I]) or (Strings1.Objects[I] <> Strings2.Objects[I]) then begin112 Result := False;113 Exit;114 end;115 100 end; 116 101
Note:
See TracChangeset
for help on using the changeset viewer.