diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-17 16:52:58 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-17 16:52:58 +0000 |
commit | 0b8fa4588234105a91ecd5dbd6630f3be9122eb6 (patch) | |
tree | 9360baed127298d952568d2959bbb2c893fa4c0e /src/select/hash.c | |
parent | a42d7a65974774b4520c23d73d71dd1a776926bb (diff) | |
download | libcss-0b8fa4588234105a91ecd5dbd6630f3be9122eb6.tar.gz libcss-0b8fa4588234105a91ecd5dbd6630f3be9122eb6.tar.bz2 |
Fix utterly broken selector chain search code.
svn path=/trunk/libcss/; revision=8604
Diffstat (limited to 'src/select/hash.c')
-rw-r--r-- | src/select/hash.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/select/hash.c b/src/select/hash.c index 62df88c..2f33877 100644 --- a/src/select/hash.c +++ b/src/select/hash.c @@ -240,18 +240,6 @@ css_error css_selector_hash_find(css_selector_hash *hash, head = &hash->slots[index]; - if (head->sel != NULL) { - do { - if (head->sel->data.name == name) - break; - - head = head->next; - } while (head != NULL); - - if (head == NULL) - head = &empty_slot; - } - (*matched) = (const css_selector **) head; return CSS_OK; |