aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-07-02 20:31:36 -0700
committerChris Robinson <[email protected]>2009-07-02 20:31:36 -0700
commit7e01e534454d128cf83b8dc32c7a531edd7e8ded (patch)
tree2bb62ddf41d0c640a5d82a82ab47611449054e1a
parent043fe6edd2ea0e4aabe855ca2c4de3fe4b0fd530 (diff)
Fix parsing of layout configuration string
-rw-r--r--Alc/ALu.c1
1 files changed, 1 insertions, 0 deletions
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;