summaryrefslogtreecommitdiff
path: root/src/qcommon/files.c
diff options
context:
space:
mode:
authorThilo Schulz <arny@ats.s.bawue.de>2011-05-15 14:08:03 +0000
committerTim Angus <tim@ngus.net>2013-01-09 22:27:37 +0000
commitc253917e539fa6a6196cdea8f1733b72feb30107 (patch)
tree71f37869dd9aebdd87d4b3f25604cd155ce4f6d3 /src/qcommon/files.c
parent81d3670b5ba3b7e09463a957f9b4879c4a989ddc (diff)
- Remove Q_strrchr(), replace with standard, portable strrchr() - Add strrchr() to bg_lib.c, patch by DevHC
Diffstat (limited to 'src/qcommon/files.c')
-rw-r--r--src/qcommon/files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qcommon/files.c b/src/qcommon/files.c
index 62edf997..41510fec 100644
--- a/src/qcommon/files.c
+++ b/src/qcommon/files.c
@@ -1000,7 +1000,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));