Commit a2d29ea8 authored by Lars-Dominik Braun's avatar Lars-Dominik Braun

Fix mangled error messages when verbosity=0

Fixes trac #1999.
parent 1322c58d
......@@ -662,9 +662,8 @@ static char *_sanitize_matrix(int maxchannels, char *matrix, ao_device *device){
/* unrecognized channel mnemonic */
int i;
aerror("Unrecognized channel name \"");
fprintf(stderr,"\" in channel matrix \"%s\"\n",matrix);
aerror("Unrecognized channel name \"%.*s\" in channel matrix \"%s\"\n",
t-p, p, matrix);
return NULL;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment