From 583a23f0cd5813645cefa451db9ce632f54305fc Mon Sep 17 00:00:00 2001 From: "Reece H. Dunn" Date: Wed, 7 Mar 2018 12:36:58 +0000 Subject: [PATCH] Use ENV_LEN in the fwrite call in LoadEnvelope2 to be consistent with the rest of the function. --- src/libespeak-ng/compiledata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libespeak-ng/compiledata.c b/src/libespeak-ng/compiledata.c index 1c439923..c88b1a15 100644 --- a/src/libespeak-ng/compiledata.c +++ b/src/libespeak-ng/compiledata.c @@ -1434,7 +1434,7 @@ static int LoadEnvelope2(FILE *f, const char *fname) } displ = ftell(f_phdata); - fwrite(env, 1, 128, f_phdata); + fwrite(env, 1, ENV_LEN, f_phdata); return displ; }