Explorar el Código

* String -> AnsiString

Michael VAN CANNEYT hace 2 años
padre
commit
cb1b0021cb
Se han modificado 1 ficheros con 1 adiciones y 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