From 471d3e541f362ccd96f78254bba54f11cdcd1d43 Mon Sep 17 00:00:00 2001 From: tma Date: Sat, 19 Jan 2008 19:06:25 +0000 Subject: * Fix to bug in S_FileExtension (Tr3B) git-svn-id: svn://svn.icculus.org/quake3/trunk@1249 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/client/snd_codec.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'code') diff --git a/code/client/snd_codec.c b/code/client/snd_codec.c index 41456ce..0483e8d 100644 --- a/code/client/snd_codec.c +++ b/code/client/snd_codec.c @@ -41,7 +41,10 @@ static char *S_FileExtension(const char *fni) while(*fn != '/' && fn != fni) { if(*fn == '.') + { eptr = fn; + break; + } fn--; } -- cgit v1.2.3