summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/i_sdlsound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i_sdlsound.c b/src/i_sdlsound.c
index 70c360aa..299a3ff4 100644
--- a/src/i_sdlsound.c
+++ b/src/i_sdlsound.c
@@ -767,7 +767,7 @@ static void I_SDL_PrecacheSounds(sfxinfo_t *sounds, int num_sounds)
fflush(stdout);
}
- GetSfxLumpName(&sounds[i], namebuf, sizeof(buf));
+ GetSfxLumpName(&sounds[i], namebuf, sizeof(namebuf));
sounds[i].lumpnum = W_CheckNumForName(namebuf);