mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 19:49:31 +02:00
IDE: made FixFileName to actually fix and not break file names on Amiga-like systems
git-svn-id: trunk@30359 -
This commit is contained in:
parent
d7ffb52490
commit
226c184d14
@ -157,8 +157,12 @@ begin
|
||||
else
|
||||
FixFileName[i]:=s[i];
|
||||
{$else}
|
||||
{$ifndef hasamiga}
|
||||
'/' : FixFileName[i]:='\';
|
||||
'A'..'Z' : FixFileName[i]:=char(byte(s[i])+32);
|
||||
{$else}
|
||||
'\' : FixFileName[i]:='/';
|
||||
{$endif}
|
||||
{$endif}
|
||||
else
|
||||
FixFileName[i]:=s[i];
|
||||
|
Loading…
Reference in New Issue
Block a user