Changeset 226 for Common/UURI.pas
- Timestamp:
- Apr 6, 2011, 3:08:13 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Common/UURI.pas
r222 r226 238 238 Scheme := TURI(Source).Scheme; 239 239 Authority := TURI(Source).Authority; 240 Path := TURI(Source).Path;240 Path.Assign(TURI(Source).Path); 241 241 Fragment := TURI(Source).Fragment; 242 242 Query := TURI(Source).Query; … … 310 310 RightCutString(AValue, Extension, ExtensionSeparator); 311 311 Extension := ExtensionSeparator + Extension; 312 end ;312 end else Extension := ''; 313 313 if Pos(DirectorySeparator, AValue) > 0 then RightCutString(AValue, Name, DirectorySeparator) 314 314 else begin … … 319 319 LeftCutString(AValue, Drive, DriveSeparator); 320 320 Drive := Drive + DriveSeparator; 321 end ;321 end else Drive := ''; 322 322 Directory.AsString := AValue; 323 323 end;
Note:
See TracChangeset
for help on using the changeset viewer.