Permalink
Browse files

fixed TSynAnsiConvert.AnsiBufferToUnicode for FPC/POSIX

  • Loading branch information...
Arnaud Bouchez
Arnaud Bouchez committed Dec 4, 2018
1 parent b9bad28 commit 400c25e68415eed00bf2eed957fa98b296b6fada
Showing with 2 additions and 2 deletions.
  1. +1 −1 SynCommons.pas
  2. +1 −1 SynopseCommit.inc
@@ -17831,7 +17831,7 @@ function TSynAnsiConvert.AnsiBufferToUnicode(Dest: PWideChar;
widestringmanager.Ansi2UnicodeMoveProc(Source,
{$ifdef ISFPC27}fCodePage,{$endif}tmp,SourceChars);
MoveFast(Pointer(tmp)^,Dest^,length(tmp)*2);
result := Dest+SourceChars;
result := Dest+length(tmp);
{$else}
{$ifdef KYLIX3}
result := Dest; // makes compiler happy
@@ -1 +1 @@
'1.18.4902'
'1.18.4903'

0 comments on commit 400c25e

Please sign in to comment.