mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-10 15:40:32 +02:00
FpDebug: keep "\\?\" filenames.
This commit is contained in:
parent
1aef153d5f
commit
655727ed2b
@ -540,8 +540,6 @@ begin
|
||||
u := '';
|
||||
LogLastError;
|
||||
end;
|
||||
// Remove the \\?\ prefix
|
||||
Delete(S,1,4);
|
||||
result := S;
|
||||
end;
|
||||
end;
|
||||
|
@ -260,8 +260,8 @@ begin
|
||||
|
||||
SetLength(U, MAX_PATH+1);
|
||||
SetLength(U, GetFinalPathNameByHandle(Handle, @U[1], Length(U), 0));
|
||||
if Copy(U, 1, 4)='\\?\' then
|
||||
Delete(U, 1, 4);
|
||||
// if Copy(U, 1, 4)='\\?\' then
|
||||
// Delete(U, 1, 4);
|
||||
Result := U;
|
||||
end;
|
||||
{$endif}
|
||||
|
Loading…
Reference in New Issue
Block a user