- Remove Q_strrchr(), replace with standard, portable strrchr()
- Add strrchr() to bg_lib.c, patch by DevHC
This commit is contained in:
1 parent
3ddc59a3ba
commit
b509d770a7
12 files changed
+27
-29
No files matched your search
@@ -1022,7 +1022,7 @@ qboolean FS_IsDemoExt(const char *filename, int namelen)
|
||||
char *ext_test;
|
||||
int index, protocol;
|
||||
|
||||
ext_test = Q_strrchr(filename, '.');
|
||||
ext_test = strrchr(filename, '.');
|
||||
if(ext_test && !Q_stricmpn(ext_test + 1, DEMOEXT, ARRAY_LEN(DEMOEXT) - 1))
|
||||
{
|
||||
protocol = atoi(ext_test + ARRAY_LEN(DEMOEXT));
|
||||
|
||||
Reference in new issue
Block a user