- Remove Q_strrchr(), replace with standard, portable strrchr()

- Add strrchr() to bg_lib.c, patch by DevHC
This commit is contained in:
Thilo Schulz 2011-05-15 14:08:03 +00:00
parent 3ddc59a3ba
commit b509d770a7
12 changed files with 27 additions and 29 deletions

View file

@ -864,7 +864,7 @@ void SV_WriteDownloadToClient( client_t *cl , msg_t *msg )
// Chop off filename extension.
Com_sprintf(pakbuf, sizeof(pakbuf), "%s", cl->downloadName);
pakptr = Q_strrchr(pakbuf, '.');
pakptr = strrchr(pakbuf, '.');
if(pakptr)
{