mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 08:09:33 +02:00
parent
3ecfa10417
commit
0814dad0ba
@ -31,10 +31,9 @@ end;
|
||||
Function PrepKey(Const S : String) : String;
|
||||
|
||||
begin
|
||||
If Copy(S, 1, 1)='\' then
|
||||
Result := Copy(Result, 2)
|
||||
else
|
||||
Result := S;
|
||||
Result := S;
|
||||
if (Result <> '') and (Result[1] = '\') then
|
||||
System.Delete(Result, 1, 1);
|
||||
end;
|
||||
|
||||
Function RelativeKey(Const S : String) : Boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user