mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 09:59:10 +02:00
Fixes compilation with FPC 2.6
git-svn-id: trunk@52498 -
This commit is contained in:
parent
6eb42f280e
commit
d69c951230
@ -355,7 +355,11 @@ begin
|
||||
if L > 0 then
|
||||
begin
|
||||
Result:='';
|
||||
{$IF FPC_FULLVERSION >= 30000}
|
||||
widestringmanager.Wide2AnsiMoveProc(PWideChar(@Buf[0]),Result,CP_UTF8,L-1);
|
||||
{$ELSE}
|
||||
widestringmanager.Wide2AnsiMoveProc(PWideChar(@Buf[0]),Result,CP_UTF8);
|
||||
{$ENDIF}
|
||||
end
|
||||
else
|
||||
Result := Def;
|
||||
|
Loading…
Reference in New Issue
Block a user