strstr_nocase() typo fix.

This commit is contained in:
Aleksei Skriabin 2019-09-28 14:19:45 +05:00
parent 2356069eac
commit c0c2f4536a

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] );