mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 09:14:36 +00:00
Merged in Vuhdo/tracy/strstr_nocase_fix (pull request #41)
strstr_nocase() typo fix.
This commit is contained in:
commit
05a2fa487f
@ -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] );
|
||||||
|
Loading…
Reference in New Issue
Block a user