From c253917e539fa6a6196cdea8f1733b72feb30107 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Sun, 15 May 2011 14:08:03 +0000 Subject: - Remove Q_strrchr(), replace with standard, portable strrchr() - Add strrchr() to bg_lib.c, patch by DevHC --- src/server/sv_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server') diff --git a/src/server/sv_client.c b/src/server/sv_client.c index 36c5e711..8d69ba8e 100644 --- a/src/server/sv_client.c +++ b/src/server/sv_client.c @@ -650,7 +650,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) { -- cgit