summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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