Explorar o código

* String -> AnsiString

Michael VAN CANNEYT %!s(int64=2) %!d(string=hai) anos
pai
achega
32d55bb0ea
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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:=String(temp);
+  Result:=AnsiString(temp);
 end;
 
 const