summaryrefslogtreecommitdiff
path: root/src/client/snd_openal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/snd_openal.c')
-rw-r--r--src/client/snd_openal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/snd_openal.c b/src/client/snd_openal.c
index fbeafa70..d90e6d23 100644
--- a/src/client/snd_openal.c
+++ b/src/client/snd_openal.c
@@ -2134,7 +2134,7 @@ void S_AL_StartBackgroundTrack( const char *intro, const char *loop )
issame = qfalse;
// Copy the loop over
- strncpy( s_backgroundLoop, loop, sizeof( s_backgroundLoop ) );
+ Q_strncpyz( s_backgroundLoop, loop, sizeof( s_backgroundLoop ) );
if(!issame)
{