From 61b9c24763ec367ba788937fc309d710120db5fd Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 31 Jul 2018 16:03:58 +0200 Subject: The proper term is apparently 'filename extension', not 'suffix'. --- include/mupdf/fitz/document.h | 2 +- include/mupdf/fitz/string-util.h | 4 ++-- include/mupdf/helpers/mu-office-lib.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/mupdf/fitz/document.h b/include/mupdf/fitz/document.h index f0d114ae..3e6ac1e9 100644 --- a/include/mupdf/fitz/document.h +++ b/include/mupdf/fitz/document.h @@ -309,7 +309,7 @@ void fz_register_document_handlers(fz_context *ctx); fz_recognize_document: Given a magic find a document handler that can handle a document of this type. - magic: Can be a file extension (including initial period) or + magic: Can be a filename extension (including initial period) or a mimetype. */ const fz_document_handler *fz_recognize_document(fz_context *ctx, const char *magic); diff --git a/include/mupdf/fitz/string-util.h b/include/mupdf/fitz/string-util.h index aad11b86..235bb060 100644 --- a/include/mupdf/fitz/string-util.h +++ b/include/mupdf/fitz/string-util.h @@ -80,8 +80,8 @@ char *fz_urldecode(char *url); fz_format_output_path: create output file name using a template. If the path contains %[0-9]*d, the first such pattern will be replaced with the page number. If the template does not contain such a pattern, the page - number will be inserted before the file suffix. If the template does not have - a file suffix, the page number will be added to the end. + number will be inserted before the filename extension. If the template does not have + a filename extension, the page number will be added to the end. */ void fz_format_output_path(fz_context *ctx, char *path, size_t size, const char *fmt, int page); diff --git a/include/mupdf/helpers/mu-office-lib.h b/include/mupdf/helpers/mu-office-lib.h index 759c892a..d2bff1ac 100644 --- a/include/mupdf/helpers/mu-office-lib.h +++ b/include/mupdf/helpers/mu-office-lib.h @@ -270,7 +270,7 @@ void MuOfficeLib_destroy(MuOfficeLib *mu); MuOfficeDocType MuOfficeLib_getDocTypeFromFileExtension(const char *path); /** - * Return a list of file extensions supported by Mu Office library. + * Return a list of filename extensions supported by Mu Office library. * * @return comma-delimited list of extensions, without the leading ".". * The caller should free the returned pointer.. -- cgit v1.2.3