mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 14:38:01 +02:00
ide: Normalize path delims of resource items
git-svn-id: trunk@52417 -
This commit is contained in:
parent
ce70c2c243
commit
e657f17f12
@ -196,6 +196,7 @@ begin
|
||||
if not IDEMacros.SubstituteMacros(Result) then
|
||||
debugln(['TResourceItem.GetRealFileName failed FileName="', FileName, '"']);
|
||||
Result := TrimFilename(Result);
|
||||
ForcePathDelims(Result);
|
||||
if not FilenameIsAbsolute(Result) then
|
||||
Result := TrimFilename(AppendPathDelim(ProjectDirectory) + Result);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user