From a2fc54fe202624b7f82662eb9ca04c718d886718 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Tue, 26 Apr 2016 15:10:26 +0100 Subject: MSVC: Fix MSVC builds. Some new files hadn't been added to the solution, and we were calling strcasecmp instead of fz_strcasecmp. --- source/fitz/writer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') diff --git a/source/fitz/writer.c b/source/fitz/writer.c index a127a47d..8de6e0b0 100644 --- a/source/fitz/writer.c +++ b/source/fitz/writer.c @@ -11,7 +11,7 @@ fz_new_document_writer(fz_context *ctx, const char *path, const char *format, co format += 1; /* skip the '.' */ } - if (!strcasecmp(format, "cbz")) + if (!fz_strcasecmp(format, "cbz")) return fz_new_cbz_writer(ctx, path, options); fz_throw(ctx, FZ_ERROR_GENERIC, "unknown document format: %s", format); -- cgit v1.2.3