summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-07-31 16:03:58 +0200
committerTor Andersson <tor.andersson@artifex.com>2018-08-10 14:09:46 +0200
commit61b9c24763ec367ba788937fc309d710120db5fd (patch)
tree3ea6408018b202f2f8936b9b9e0e853da0d5735a /include
parentf5e7567f45e0d0e092d077e0c102cd7bd41ddf2a (diff)
downloadmupdf-61b9c24763ec367ba788937fc309d710120db5fd.tar.xz
The proper term is apparently 'filename extension', not 'suffix'.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/fitz/document.h2
-rw-r--r--include/mupdf/fitz/string-util.h4
-rw-r--r--include/mupdf/helpers/mu-office-lib.h2
3 files changed, 4 insertions, 4 deletions
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..