mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 21:41:35 +02:00
lazutils: fixed compilation fpc 2.6.4, bug #30393
git-svn-id: branches/fixes_1_6@52734 -
This commit is contained in:
parent
7d9500432d
commit
9501fabfa1
@ -355,7 +355,11 @@ begin
|
|||||||
if L > 0 then
|
if L > 0 then
|
||||||
begin
|
begin
|
||||||
Result:='';
|
Result:='';
|
||||||
|
{$IF FPC_FULLVERSION >= 30000}
|
||||||
widestringmanager.Wide2AnsiMoveProc(PWideChar(@Buf[0]),Result,CP_UTF8,L-1);
|
widestringmanager.Wide2AnsiMoveProc(PWideChar(@Buf[0]),Result,CP_UTF8,L-1);
|
||||||
|
{$ELSE}
|
||||||
|
widestringmanager.Wide2AnsiMoveProc(PWideChar(@Buf[0]),Result,CP_UTF8);
|
||||||
|
{$ENDIF}
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
Result := Def;
|
Result := Def;
|
||||||
|
Loading…
Reference in New Issue
Block a user