Browse Source

* String -> AnsiString

Michael VAN CANNEYT 2 years ago
parent
commit
32d55bb0ea
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:=String(temp);
+  Result:=AnsiString(temp);
 end;
 
 const