From 7e01e534454d128cf83b8dc32c7a531edd7e8ded Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 2 Jul 2009 20:31:36 -0700 Subject: [PATCH] Fix parsing of layout configuration string --- Alc/ALu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Alc/ALu.c b/Alc/ALu.c index 79a2bfc3..0dd39481 100644 --- a/Alc/ALu.c +++ b/Alc/ALu.c @@ -135,6 +135,7 @@ static ALvoid SetSpeakerArrangement(const char *name, ALfloat SpeakerAngle[OUTPU end = sep - 1; while(isspace(*end) && end != confkey) end--; + end++; if(strncmp(confkey, "fl", end-confkey) == 0) val = FRONT_LEFT; -- 2.11.4.GIT