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