Changeset 188 for trunk/Components
- Timestamp:
- Jun 5, 2007, 8:28:53 PM (18 years ago)
- Location:
- trunk/Components
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Components/ACLLanguageUnit.pas
r39 r188 5 5 uses 6 6 OS2Def, 7 Classes, Forms; 7 Classes, 8 Forms; 8 9 9 10 type … … 130 131 uses 131 132 Dos, SysUtils, // system 132 StdCtrls, Buttons, ExtCtrls, TabCtrls, Dialogs, 133 Coolbar2, Multicolumnlistbox, 134 ACLUtility, ACLStringUtility, 135 // ACLProfile, 136 ACLFileUtility; 133 StdCtrls, 134 Buttons, 135 ExtCtrls, 136 TabCtrls, 137 Dialogs, 138 Coolbar2, 139 Multicolumnlistbox, 140 ACLUtility, 141 ACLStringUtility, 142 FileUtilsUnit; 137 143 138 144 var … … 699 705 if OSDir <> '' then 700 706 begin 701 FilePath := Add Slash( OSDir )707 FilePath := AddDirectorySeparator( OSDir ) 702 708 + 'lang\' 703 709 + Filename; -
trunk/Components/CanvasFontManager.pas
r15 r188 132 132 133 133 uses 134 PMWin, PMGpi, OS2Def, PmDev, 134 PMWin, 135 PMGpi, 136 OS2Def, 137 PmDev, 135 138 SysUtils, 136 139 ACLStringUtility; -
trunk/Components/CustomFileControls.pas
r15 r188 7 7 8 8 Uses 9 Dos, SysUtils, Classes, Forms, StdCtrls, CustomListBox, Graphics; 9 Dos, 10 SysUtils, 11 Classes, 12 Forms, 13 StdCtrls, 14 CustomListBox, 15 Graphics; 10 16 11 17 … … 337 343 338 344 Uses 339 {$IFDEF OS2} 340 BseDos, OS2Def, DriveInfoUnit, 341 BseDev, BseErr, 342 {$ENDIF} 343 344 {$IFDEF Win95} 345 WinBase, 346 {$ENDIF} 345 BseDos, 346 OS2Def, 347 BseDev, 348 BseErr, 349 347 350 Dialogs, 348 ACLStringUtility, ACLUtility, ACLFileUtility, BitmapUtility; 351 FileUtilsUnit, 352 ACLStringUtility, 353 ACLUtility, 354 BitmapUtility; 349 355 350 356 var … … 864 870 Data:= longint( Items.Objects[ Index ] ); 865 871 if ( Data and dfSubDir ) = 0 then 866 FullPath:= Add Slash( S ) + FullPath;872 FullPath:= AddDirectorySeparator( S ) + FullPath; 867 873 dec( Index ); 868 874 end; … … 918 924 SubDirs:= TStringList.Create; 919 925 920 Status := SysUtils.FindFirst( Add Slash( Directory ) + '*.*', faDirectory, Search);926 Status := SysUtils.FindFirst( AddDirectorySeparator( Directory ) + '*.*', faDirectory, Search); 921 927 While Status = 0 Do 922 928 Begin … … 967 973 GetDir(Ord(UpCase(Drive))-Ord('A')+1,s); 968 974 {$I+} 969 S:= Remove Slash( S );970 S:= Add Slash( S );975 S:= RemoveRightDirectorySeparator( S ); 976 S:= AddDirectorySeparator( S ); 971 977 NewDir:=s+NewDir; 972 978 End; 973 979 974 NewDir:= Remove Slash( NewDir );980 NewDir:= RemoveRightDirectorySeparator( NewDir ); 975 981 976 982 FDirectory := NewDir; … … 1116 1122 begin 1117 1123 try 1118 DriveLabel := GetVolumeLabel( DriveNumberTo Letter( DriveNumber ) );1124 DriveLabel := GetVolumeLabel( DriveNumberToDriveLetter( DriveNumber ) ); 1119 1125 DriveString := DriveString + DriveLabel; 1120 1126 except … … 1142 1148 on EInOutError do 1143 1149 // Current drive inaccessible 1144 Drive := GetBootDrive ;1150 Drive := GetBootDriveLetter; 1145 1151 end; 1146 1152 End; … … 1261 1267 // and the user doesn't want to retry, 1262 1268 // so go back to boot drive. 1263 SetDrive( GetBootDrive);1269 SetDrive(GetBootDriveLetter); 1264 1270 Screen.Cursor := crDefault; 1265 1271 Exit;
Note:
See TracChangeset
for help on using the changeset viewer.