mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-05 20:26:00 +02:00
IDE: setdirseparator on fpc output
git-svn-id: trunk@25895 -
This commit is contained in:
parent
4eeeb7d463
commit
d7bdeb4d84
@ -710,7 +710,7 @@ var i, j, FilenameEndPos: integer;
|
||||
// add path to history
|
||||
if fCompilingHistory=nil then fCompilingHistory:=TStringList.Create;
|
||||
inc(p,length('Compiling '));
|
||||
if (length(s)>=p+1) and (s[p]='.') and (s[p+1]=PathDelim) then
|
||||
if (length(s)>=p+1) and (s[p]='.') and (s[p+1] in ['/','\']) then
|
||||
inc(p,2);
|
||||
AFilename:=TrimFilename(SetDirSeparators(copy(s,p,length(s))));
|
||||
fCompilingHistory.Add(AFilename);
|
||||
|
Loading…
Reference in New Issue
Block a user