summaryrefslogtreecommitdiff
path: root/src/client/snd_codec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/snd_codec.c')
-rw-r--r--src/client/snd_codec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/snd_codec.c b/src/client/snd_codec.c
index 1b680f87..65f17f4d 100644
--- a/src/client/snd_codec.c
+++ b/src/client/snd_codec.c
@@ -42,7 +42,10 @@ static char *S_FileExtension(const char *fni)
while(*fn != '/' && fn != fni)
{
if(*fn == '.')
+ {
eptr = fn;
+ break;
+ }
fn--;
}