aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-04-10 13:06:36 -0700
committerChris Robinson <[email protected]>2016-04-10 13:06:36 -0700
commit695cfa50b2729edea1d837ca3ce6540b9200487b (patch)
tree6b12dce73e4512ac09d54bf52d6e2347b85421aa
parent1faa7b536d46f9f085c697ddbbac1a3e4e8bb0df (diff)
Improve error trace for bad matrix definitions
-rw-r--r--Alc/ambdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/ambdec.c b/Alc/ambdec.c
index 29bd4afa..255011d5 100644
--- a/Alc/ambdec.c
+++ b/Alc/ambdec.c
@@ -443,7 +443,7 @@ int ambdec_load(AmbDecConf *conf, const char *fname)
const char *value = my_strtok_r(NULL, "/ \t", &saveptr);
if(strcmp(value, "{") != 0)
{
- ERR("Expected { after speakers command, got %s\n", value);
+ ERR("Expected { after %s command, got %s\n", command, value);
goto fail;
}
if(!load_ambdec_speakers(conf, f, &buffer, &maxlen, &saveptr))
@@ -471,7 +471,7 @@ int ambdec_load(AmbDecConf *conf, const char *fname)
const char *value = my_strtok_r(NULL, "/ \t", &saveptr);
if(strcmp(value, "{") != 0)
{
- ERR("Expected { after speakers command, got %s\n", value);
+ ERR("Expected { after %s command, got %s\n", command, value);
goto fail;
}
if(conf->FreqBands == 1)