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:
Károly Balogh 2015-03-29 02:02:35 +00:00
parent d7ffb52490
commit 226c184d14

View File

@ -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];