소스 검색

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

git-svn-id: trunk@45329 -
svenbarth 5 년 전
부모
커밋
3c79a8dd81
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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