From 32d55bb0ea8042ee202b34d4e29d27b08afa2a58 Mon Sep 17 00:00:00 2001 From: Michael VAN CANNEYT Date: Fri, 6 Jan 2023 11:22:53 +0100 Subject: [PATCH] * String -> AnsiString --- rtl/win/sysdl.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtl/win/sysdl.inc b/rtl/win/sysdl.inc index c3f5468a6e..d6a0586b2e 100644 --- a/rtl/win/sysdl.inc +++ b/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