mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2024-11-10 06:31:48 +00:00
fixed Q_stristr declaring a variable in the middle of a scope block
This commit is contained in:
parent
1f49b43a39
commit
ef83d7314d
1 changed files with 2 additions and 1 deletions
|
@ -450,10 +450,11 @@ const char *Q_stristr( const char *s, const char *find )
|
|||
{
|
||||
char c;
|
||||
if ((c = *find++) != 0) {
|
||||
const size_t len = strlen(find);
|
||||
|
||||
if (c >= 'a' && c <= 'z')
|
||||
c -= ('a' - 'A');
|
||||
|
||||
const size_t len = strlen(find);
|
||||
do {
|
||||
char sc;
|
||||
do {
|
||||
|
|
Loading…
Reference in a new issue