mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-31 09:01:54 +00:00
- Remove Q_strrchr(), replace with standard, portable strrchr()
- Add strrchr() to bg_lib.c, patch by DevHC
This commit is contained in:
parent
3ddc59a3ba
commit
b509d770a7
12 changed files with 27 additions and 29 deletions
|
@ -966,7 +966,7 @@ void CL_PlayDemo_f( void ) {
|
|||
CL_Disconnect( qtrue );
|
||||
|
||||
// check for an extension .DEMOEXT_?? (?? is protocol)
|
||||
ext_test = Q_strrchr(arg, '.');
|
||||
ext_test = strrchr(arg, '.');
|
||||
|
||||
if(ext_test && !Q_stricmpn(ext_test + 1, DEMOEXT, ARRAY_LEN(DEMOEXT) - 1))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue