Comment RtlTokenizeWideString for clarity
All checks were successful
Builds / ExectOS (amd64, debug) (push) Successful in 31s
Builds / ExectOS (amd64, release) (push) Successful in 29s
Builds / ExectOS (i686, debug) (push) Successful in 31s
Builds / ExectOS (i686, release) (push) Successful in 30s

This commit is contained in:
Aiken Harris 2025-09-02 20:18:33 +02:00
parent 3c25934495
commit e4981b52ed
Signed by: harraiken
GPG Key ID: C40F06CB7493C1F5

View File

@ -384,14 +384,18 @@ RtlTokenizeWideString(IN PWCHAR String,
Span = (PWCHAR)Delimiter;
do
{
/* Check if delimiter found */
if((SpanChar = *Span++) == Char)
{
/* Check if end of string reached */
if(Char == L'\0')
{
/* End of string reached, no more tokens */
String = NULL;
}
else
{
/* Terminate token */
String[-1] = L'\0';
}