diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2012-08-04 13:03:05 +0200 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2012-08-06 13:53:40 +0200 |
commit | 171deea598ec88f370e31b0d1b58d841277eceb1 (patch) | |
tree | a61b0435e574792baa0f3d5e2a012c9ae078f345 | |
parent | e964faf9c2b4d327971969a589932a9b2572b5a7 (diff) | |
download | mupdf-171deea598ec88f370e31b0d1b58d841277eceb1.tar.xz |
Fix typo in PDF function code
This is just a lexical change, no semantic change as
the MAXN and MAXM constants are equal.
-rw-r--r-- | pdf/pdf_function.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pdf/pdf_function.c b/pdf/pdf_function.c index eab7bedf..18c16669 100644 --- a/pdf/pdf_function.c +++ b/pdf/pdf_function.c @@ -1422,7 +1422,7 @@ pdf_load_function(pdf_document *xref, pdf_obj *dict, int in, int out) /* required for all */ obj = pdf_dict_gets(dict, "Domain"); - func->m = fz_clampi(pdf_array_len(obj) / 2, 1, MAXN); + func->m = fz_clampi(pdf_array_len(obj) / 2, 1, MAXM); for (i = 0; i < func->m; i++) { func->domain[i][0] = pdf_to_real(pdf_array_get(obj, i * 2 + 0)); @@ -1498,7 +1498,7 @@ pdf_load_function(pdf_document *xref, pdf_obj *dict, int in, int out) void pdf_eval_function(fz_context *ctx, pdf_function *func, float *in_, int inlen, float *out_, int outlen) { - float fakein[MAXN]; + float fakein[MAXM]; float fakeout[MAXN]; float *in = in_; float *out = out_; |