aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/panning.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/panning.c')
-rw-r--r--Alc/panning.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Alc/panning.c b/Alc/panning.c
index 2757a51f..b225e3ec 100644
--- a/Alc/panning.c
+++ b/Alc/panning.c
@@ -64,7 +64,10 @@ static void SetSpeakerArrangement(const char *name, ALfloat SpeakerAngle[MAXCHAN
sep = strchr(confkey, '=');
if(!sep || confkey == sep)
+ {
+ ERR("Malformed speaker key: %s\n", confkey);
continue;
+ }
end = sep - 1;
while(isspace(*end) && end != confkey)