From 8aa8797a0a666505260a668cb4fc0258f0064483 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Tue, 24 Feb 2015 17:57:08 +0000 Subject: Update MSVC solution with html entries. Fix windows issues with html. Add the new source files to the solution. Windows builds whinge about float->double conversions. Fix these with explicit casts. Avoid calling strtof and strcasecmp. --- source/html/html-layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/html/html-layout.c') diff --git a/source/html/html-layout.c b/source/html/html-layout.c index 5a1a3157..cc536cce 100644 --- a/source/html/html-layout.c +++ b/source/html/html-layout.c @@ -833,7 +833,7 @@ html_load_css(fz_context *ctx, fz_archive *zip, const char *base_uri, fz_css_rul if (tag && !strcmp(tag, "link")) { char *rel = fz_xml_att(node, "rel"); - if (rel && !strcasecmp(rel, "stylesheet")) + if (rel && !fz_strcasecmp(rel, "stylesheet")) { char *type = fz_xml_att(node, "type"); if ((type && !strcmp(type, "text/css")) || !type) -- cgit v1.2.3