fixed Q_stristr declaring a variable in the middle of a scope block

This commit is contained in:
myT 2017-10-18 00:53:08 +02:00
parent 1f49b43a39
commit ef83d7314d
1 changed files with 2 additions and 1 deletions

View File

@ -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 {