summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-12-09 19:13:51 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-12-09 19:13:51 +0100
commit7e6d275a31223b92cb08be4fa617637e319403e5 (patch)
tree8e6ab445068845a3ae4875b97ad7e930e123c6e1
parent93b210434c8511f6fa58bb23f1188c65810870b8 (diff)
remove DISPLAY_LAST
-rw-r--r--dw/style.hh3
-rw-r--r--src/cssparser.cc2
2 files changed, 2 insertions, 3 deletions
diff --git a/dw/style.hh b/dw/style.hh
index 73549553..55d6fc9f 100644
--- a/dw/style.hh
+++ b/dw/style.hh
@@ -253,8 +253,7 @@ enum DisplayType {
DISPLAY_TABLE_HEADER_GROUP,
DISPLAY_TABLE_FOOTER_GROUP,
DISPLAY_TABLE_ROW,
- DISPLAY_TABLE_CELL,
- DISPLAY_LAST
+ DISPLAY_TABLE_CELL
};
enum ListStylePosition {
diff --git a/src/cssparser.cc b/src/cssparser.cc
index 4eb20b74..5f5bde08 100644
--- a/src/cssparser.cc
+++ b/src/cssparser.cc
@@ -58,7 +58,7 @@ static const char *const Css_cursor_enum_vals[] = {
"w-resize", "text", "wait", "help", NULL
};
-static const char *const Css_display_enum_vals[DISPLAY_LAST + 1] = {
+static const char *const Css_display_enum_vals[] = {
"block", "inline", "list-item", "none", "table", "table-row-group",
"table-header-group", "table-footer-group", "table-row",
"table-cell", NULL