diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-07-31 16:03:58 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-08-10 14:09:46 +0200 |
commit | 61b9c24763ec367ba788937fc309d710120db5fd (patch) | |
tree | 3ea6408018b202f2f8936b9b9e0e853da0d5735a /platform | |
parent | f5e7567f45e0d0e092d077e0c102cd7bd41ddf2a (diff) | |
download | mupdf-61b9c24763ec367ba788937fc309d710120db5fd.tar.xz |
The proper term is apparently 'filename extension', not 'suffix'.
Diffstat (limited to 'platform')
-rw-r--r-- | platform/gl/gl-annotate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/gl/gl-annotate.c b/platform/gl/gl-annotate.c index 265ab673..1cfe4544 100644 --- a/platform/gl/gl-annotate.c +++ b/platform/gl/gl-annotate.c @@ -15,8 +15,8 @@ static pdf_write_options save_opts; static int pdf_filter(const char *fn) { - const char *suffix = strrchr(fn, '.'); - if (suffix && !fz_strcasecmp(suffix, ".pdf")) + const char *extension = strrchr(fn, '.'); + if (extension && !fz_strcasecmp(extension, ".pdf")) return 1; return 0; } |