aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-01-17 06:33:23 -0800
committerChris Robinson <[email protected]>2014-01-17 06:33:23 -0800
commitbe883131a73d423887159732e56dd8c3ad781a2d (patch)
tree23a7d41df51b51f29d41c65a5f1fa69055869341
parent658d35a1b0591ceaafd05eacd0c8957c59fd7523 (diff)
Remove redundancy in a couple error messages
-rw-r--r--Alc/midi/sf2load.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/midi/sf2load.c b/Alc/midi/sf2load.c
index b2b69af0..1d856af0 100644
--- a/Alc/midi/sf2load.c
+++ b/Alc/midi/sf2load.c
@@ -1043,7 +1043,7 @@ static void processInstrument(ALfontsound ***sounds, ALsizei *sounds_size, ALCco
if(gen->mAmount >= sfont->shdr_size-1)
{
- ERR("Generator %ld has invalid sample ID generator (%d of %d)\n",
+ ERR("Generator %ld has invalid sample ID (%d of %d)\n",
(long)(gen-sfont->igen), gen->mAmount, sfont->shdr_size-1);
break;
}
@@ -1373,7 +1373,7 @@ ALboolean loadSf2(Reader *stream, ALsoundfont *soundfont, ALCcontext *context)
if(gen->mGenerator == 41)
{
if(gen->mAmount >= sfont.inst_size-1)
- ERR("Generator %ld has invalid instrument ID generator (%d of %d)\n",
+ ERR("Generator %ld has invalid instrument ID (%d of %d)\n",
(long)(gen-sfont.pgen), gen->mAmount, sfont.inst_size-1);
else
processInstrument(&sounds, &sounds_size, context,