aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-01-12 08:50:32 -0800
committerChris Robinson <[email protected]>2010-01-12 08:50:32 -0800
commit505f61ff43f89c1e5fb63cd75c5e607343306ba6 (patch)
tree054a4e4e88ebf2258fa9d62a37859f2acbcaa6ac /Alc
parent0c2efa1253514dbaeb15cc72a704761ed598c4fc (diff)
Properly trace the invalid speaker angle
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index f8455dda..ce8b6025 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -182,7 +182,7 @@ static ALvoid SetSpeakerArrangement(const char *name, ALfloat SpeakerAngle[OUTPU
if(val >= -180 && val <= 180)
SpeakerAngle[i] = val * M_PI/180.0f;
else
- AL_PRINT("Invalid angle for speaker \"%s\": %d\n", confkey);
+ AL_PRINT("Invalid angle for speaker \"%s\": %d\n", confkey, val);
break;
}
}