diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-03-13 13:57:11 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-03-13 13:57:11 +0100 |
commit | 48652e529ed1c0ae23cfd45f14d9655ad2849c89 (patch) | |
tree | a34e7562a30f3a7e42070f1f5a8763f6d1d608cb /pdf/pdf_cmap_parse.c | |
parent | 9cbfb766564d0e80d259e3e0a919d72a75bbb6ee (diff) | |
download | mupdf-48652e529ed1c0ae23cfd45f14d9655ad2849c89.tar.xz |
Rename some functions and accessors to be more consistent.
Debug printing functions: debug -> print.
Accessors: get noun attribute -> noun attribute.
Find -> lookup when the returned value is not reference counted.
pixmap_with_rect -> pixmap_with_bbox.
We are reserving the word "find" to mean lookups that give ownership
of objects to the caller. Lookup is used in other places where the
ownership is not transferred, or simple values are returned.
The rename is done by the sed script in scripts/rename3.sed
Diffstat (limited to 'pdf/pdf_cmap_parse.c')
-rw-r--r-- | pdf/pdf_cmap_parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/pdf_cmap_parse.c b/pdf/pdf_cmap_parse.c index 3396e3ae..93dd97c9 100644 --- a/pdf/pdf_cmap_parse.c +++ b/pdf/pdf_cmap_parse.c @@ -88,7 +88,7 @@ pdf_parse_wmode(fz_context *ctx, pdf_cmap *cmap, fz_stream *file) /* RJW: Lost debugging: "syntaxerror in cmap" */ if (tok == PDF_TOK_INT) - pdf_set_wmode(ctx, cmap, buf.i); + pdf_set_cmap_wmode(ctx, cmap, buf.i); else fz_warn(ctx, "expected integer after WMode in cmap"); } |