Merged in Vuhdo/tracy/strstr_nocase_fix (pull request #41)

strstr_nocase() typo fix.
This commit is contained in:
Aleksei Skriabin 2019-09-28 17:55:31 +00:00 committed by Bartosz Taudul
commit 05a2fa487f

View File

@ -2067,7 +2067,7 @@ static bool strstr_nocase( const char* l, const char* r )
const auto lsz = strlen( l ); const auto lsz = strlen( l );
const auto rsz = strlen( r ); const auto rsz = strlen( r );
auto ll = (char*)alloca( lsz + 1 ); auto ll = (char*)alloca( lsz + 1 );
auto rl = (char*)alloca( lsz + 1 ); auto rl = (char*)alloca( rsz + 1 );
for( size_t i=0; i<lsz; i++ ) for( size_t i=0; i<lsz; i++ )
{ {
ll[i] = tolower( l[i] ); ll[i] = tolower( l[i] );