mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-29 03:11:26 +01:00
lazutils: optimized UTF8CStringToUTF8String
git-svn-id: trunk@34218 -
This commit is contained in:
parent
93a466e9bb
commit
b7e59c0f5b
@ -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));
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
{ $Id$}
|
||||
{
|
||||
*****************************************************************************
|
||||
* *
|
||||
|
||||
Loading…
Reference in New Issue
Block a user