El 01/11/2020 a las 20:36, AlexeyT via fpc-pascal escribió:
@/José Mejuto, can you pls simplify this place, ie remove "if /IBYTE =
10" + then/else.
Hello,
I don't have write access, so no, I can not.
--
___
fpc-pascal maillist - fpc-pascal@list
>Though one could probably exclude the check at line 1981 of
rtl/inc/ustrings.inc as well as the two existing branches will result in
the same
Yes, it was my point B.
@/José Mejuto, can you pls simplify this place, ie remove "if /IBYTE =
10" + then/else.
--
Regards,
Alexey
Michael Van Canneyt via fpc-pascal
schrieb am Do., 29. Okt. 2020, 09:36:
>
>
> On Thu, 29 Oct 2020, AlexeyT via fpc-pascal wrote:
>
> > So can you COMMENT that dead part with "and FALSE" and dead part II
> > with "if ... =#10"? It will make things faster for people!
>
> It will make things faste
On Thu, 29 Oct 2020, AlexeyT via fpc-pascal wrote:
So can you COMMENT that dead part with "and FALSE" and dead part II
with "if ... =#10"? It will make things faster for people!
It will make things faster for people as well if you point at the right unit or
mail on the right mailing list.
So can you COMMENT that dead part with "and FALSE" and dead part II
with "if ... =#10"? It will make things faster for people!
Alexey
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fp
El 27/10/2020 a las 21:25, AlexeyT via fpc-pascal escribió:
rtl/inc/ustrings.inc
function UTF8ToUnicode(Dest: PUnicodeChar; MaxDestChars: SizeUInt;
Source: PChar; SourceBytes: SizeUInt): SizeUInt;
a) it has "If (PreChar<>13) and FALSE then" and later some big block.
with a comment which tel
rtl/inc/ustrings.inc
function UTF8ToUnicode(Dest: PUnicodeChar; MaxDestChars: SizeUInt;
Source: PChar; SourceBytes: SizeUInt): SizeUInt;
a) it has "If (PreChar<>13) and FALSE then" and later some big block.
with a comment which tells that "and FALSE" is on purpose and block is
ignored.