diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2010-01-05 20:30:07 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2010-01-05 20:30:07 +0100 |
commit | 624108f1c58138d272e5c37efe2c04740392fcfe (patch) | |
tree | 5f85d71c0686ee7646b678d0150d290053a98f72 | |
parent | 5c11471ed75bec4653d089e6ad4a5192cb55df27 (diff) |
check cursor in StyleAttrs::equals() and StyleAttrs::hashValue()
Noticed by corvid, see:
http://lists.auriga.wearlab.de/pipermail/dillo-dev/2010-January/007146.html
-rw-r--r-- | dw/style.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dw/style.cc b/dw/style.cc index 6368560f..8d3035d0 100644 --- a/dw/style.cc +++ b/dw/style.cc @@ -134,6 +134,7 @@ bool StyleAttrs::equals (object::Object *other) { whiteSpace == otherAttrs->whiteSpace && listStylePosition == otherAttrs->listStylePosition && listStyleType == otherAttrs->listStyleType && + cursor == otherAttrs->cursor && x_link == otherAttrs->x_link && x_img == otherAttrs->x_img && x_tooltip == otherAttrs->x_tooltip); @@ -166,6 +167,7 @@ int StyleAttrs::hashValue () { whiteSpace + listStylePosition + listStyleType + + cursor + x_link + x_img + (intptr_t) x_tooltip; |