Browse Source

* GetLoadErrorStr (currently) returns a ShortString, so avoid a useless conversion to AnsiString

git-svn-id: trunk@45329 -
svenbarth 5 years ago
parent
commit
3c79a8dd81
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/win/sysdl.inc

+ 1 - 1
rtl/win/sysdl.inc

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