Changeset 434 for Common/UURI.pas


Ignore:
Timestamp:
Nov 19, 2012, 2:31:00 PM (12 years ago)
Author:
chronos
Message:
  • Modified: Confused TRegistryEx property Context with Context parameter in some methods.
  • Fixed: TURI path was not properly handled in case of file in root directory.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Common/UURI.pas

    r230 r434  
    326326    Drive := Drive + DriveSeparator;
    327327  end else Drive := '';
    328   Directory.AsString := AValue;
     328  if (Drive <> '') and (AValue = '') then
     329    Directory.AsString := Directory.DirSeparator
     330    else Directory.AsString := AValue;
    329331end;
    330332
Note: See TracChangeset for help on using the changeset viewer.