Fix parsing of layout configuration string

This commit is contained in:
Chris Robinson 2009-07-02 20:31:36 -07:00
parent 043fe6edd2
commit 7e01e53445

View File

@ -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;