diff options
Diffstat (limited to 'xps/xps_util.c')
-rw-r--r-- | xps/xps_util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xps/xps_util.c b/xps/xps_util.c index 76175d68..d6e226b5 100644 --- a/xps/xps_util.c +++ b/xps/xps_util.c @@ -1,7 +1,7 @@ #include "fitz.h" #include "muxps.h" -static inline int tolower(int c) +static inline int xps_tolower(int c) { if (c >= 'A' && c <= 'Z') return c + 32; @@ -11,13 +11,13 @@ static inline int tolower(int c) int xps_strcasecmp(char *a, char *b) { - while (tolower(*a) == tolower(*b)) + while (xps_tolower(*a) == xps_tolower(*b)) { if (*a++ == 0) return 0; b++; } - return tolower(*a) - tolower(*b); + return xps_tolower(*a) - xps_tolower(*b); } #define SEP(x) ((x)=='/' || (x) == 0) |