From 695cfa50b2729edea1d837ca3ce6540b9200487b Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 10 Apr 2016 13:06:36 -0700 Subject: [PATCH] Improve error trace for bad matrix definitions --- Alc/ambdec.c | 4 ++-- 1 file 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) -- 2.11.4.GIT