Use ENV_LEN in the fwrite call in LoadEnvelope2 to be consistent with the rest of the function.

This commit is contained in:
Reece H. Dunn
2018-03-07 12:36:58 +00:00
parent 96ae5c65be
commit 583a23f0cd
+1 -1
View File
@@ -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;
}