Check if one string ended before the other
Todas as verificações foram bem sucedidas
Builds / ExectOS (amd64, release) (push) Successful in 54s
Builds / ExectOS (amd64, debug) (push) Successful in 57s
Builds / ExectOS (i686, release) (push) Successful in 43s
Builds / ExectOS (i686, debug) (push) Successful in 46s

Esse commit está contido em:
2026-07-29 16:52:57 +02:00
commit f456cfd21e

Ver Arquivo

@@ -124,6 +124,13 @@ RTL::String::CompareStringInsensitive(IN PCSTR String1,
Index++;
}
/* Check if one string ended before the other */
if((Length == 0 || Index < Length) && (String1[Index] != String2[Index]))
{
/* Strings are not equal */
return String1[Index] > String2[Index] ? 1 : -1;
}
/* Strings are equal */
return 0;
}