summaryrefslogtreecommitdiff
path: root/render/box_construct.c
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2012-07-08 11:45:27 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2012-07-08 11:45:27 +0100
commitb42c43dc0126e7067ab12b813430ff99c82ec681 (patch)
tree132aeb78d7d8b5bfc9dd45166688175e32da5883 /render/box_construct.c
parent3fb489b90a65e6d30125911c4cc6658b103f5117 (diff)
downloadnetsurf-b42c43dc0126e7067ab12b813430ff99c82ec681.tar.gz
netsurf-b42c43dc0126e7067ab12b813430ff99c82ec681.tar.bz2
Early <input> elements working, but we need more caseless comparisons
Diffstat (limited to 'render/box_construct.c')
-rw-r--r--render/box_construct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/box_construct.c b/render/box_construct.c
index c62f4390d..b860795b5 100644
--- a/render/box_construct.c
+++ b/render/box_construct.c
@@ -944,7 +944,7 @@ bool box_construct_element(struct box_construct_ctx *ctx,
/* Special elements */
element = bsearch(dom_string_data(s), element_table,
ELEMENT_TABLE_COUNT, sizeof(element_table[0]),
- (int (*)(const void *, const void *)) strcmp);
+ (int (*)(const void *, const void *)) strcasecmp);
dom_string_unref(s);