lazutils: optimized UTF8CStringToUTF8String

git-svn-id: trunk@34218 -
This commit is contained in:
mattias 2011-12-16 01:16:04 +00:00
parent 93a466e9bb
commit b7e59c0f5b
2 changed files with 1 additions and 2 deletions

View File

@ -587,7 +587,7 @@ begin
SourceCopied := Source;
end
else
Inc(Source, UTF8CharacterLength(Source));
Inc(Source); // no need for checking for UTF8, the / is never part of an UTF8 multibyte codepoint
end;
CopyPart;
SetLength(Result, Dest - PChar(Result));

View File

@ -1,4 +1,3 @@
{ $Id$}
{
*****************************************************************************
* *