diff options
author | Robin Watts <robin.watts@artifex.com> | 2015-02-24 17:57:08 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2015-02-24 17:59:35 +0000 |
commit | 8aa8797a0a666505260a668cb4fc0258f0064483 (patch) | |
tree | 6566586714fbfce8fb59499738786ab4db575534 /source/html/html-layout.c | |
parent | 61de5ad4c1afb03cbec8a239162a7e657d57fc2d (diff) | |
download | mupdf-8aa8797a0a666505260a668cb4fc0258f0064483.tar.xz |
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.
Diffstat (limited to 'source/html/html-layout.c')
-rw-r--r-- | source/html/html-layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |