mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'hi-lj' into 'master'
Fix issue with strcasestr that causes a map command crash See merge request STJr/SRB2Internal!502
This commit is contained in:
commit
3bb505b8e6
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ strcasestr (const char *s, const char *q)
|
|||
if (!( (intptr_t)up|(intptr_t)lp ))
|
||||
return 0;
|
||||
|
||||
if (!lp || up < lp)
|
||||
if (!lp || ( up && up < lp ))
|
||||
{
|
||||
ppa = &up;
|
||||
ppb = &lp;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue