* fix UnicodeToUtf8 if Dest is nil, patch by Sergei Gorelkin

git-svn-id: trunk@8078 -
This commit is contained in:
Almindor 2007-07-16 18:24:32 +00:00
parent b3ac071c8c
commit fdecceebd0

View File

@ -1537,6 +1537,7 @@ function UnicodeToUtf8(Dest: PChar; MaxDestBytes: SizeUInt; Source: PWideChar; S
else
inc(j,3);
end;
inc(i);
end;
end;
result:=j+1;