diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2012-11-20 10:09:21 +0000 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2012-11-20 10:26:19 +0000 |
commit | 3e54230aa7e37b7cab11a775eef51e06fe94c42e (patch) | |
tree | fd6ccd39dde868c3193496a0dc6e1a7028bf57fc /fitz | |
parent | b1e3f310637a22c6b4c5e142e3582f90ff467ddf (diff) | |
download | mupdf-3e54230aa7e37b7cab11a775eef51e06fe94c42e.tar.xz |
Rename "tolower" back to "fz_tolower"
to avoid clashes, especially on systems where "tolower" is declared as a
macro, for example Cygwin.
Diffstat (limited to 'fitz')
-rw-r--r-- | fitz/doc_search.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fitz/doc_search.c b/fitz/doc_search.c index 29a9de17..53cf7486 100644 --- a/fitz/doc_search.c +++ b/fitz/doc_search.c @@ -1,6 +1,6 @@ #include "fitz-internal.h" -static inline int tolower(int c) +static inline int fz_tolower(int c) { /* TODO: proper unicode case folding */ if (c >= 'A' && c <= 'Z') @@ -79,7 +79,7 @@ static int match(fz_text_page *page, const char *s, int n) } else { - if (tolower(c) != tolower(charat(page, n))) + if (fz_tolower(c) != fz_tolower(charat(page, n))) return 0; n++; } |