mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 16:29:27 +02:00
* GetLoadErrorStr (currently) returns a ShortString, so avoid a useless conversion to AnsiString
git-svn-id: trunk@45329 -
This commit is contained in:
parent
2a2ec77b10
commit
3c79a8dd81
@ -59,7 +59,7 @@ begin
|
||||
MakeLangId(LANG_NEUTRAL, SUBLANG_DEFAULT),
|
||||
@temp[1], 255,nil);
|
||||
SetLength(temp,c);
|
||||
Result:=AnsiString(temp);
|
||||
Result:=String(temp);
|
||||
end;
|
||||
|
||||
const
|
||||
|
Loading…
Reference in New Issue
Block a user