summaryrefslogtreecommitdiff
path: root/src/select/properties
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-12-29 21:40:34 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2014-12-29 21:40:34 +0000
commitd64a9192f0b59a725abcfe3e6fb30467d4ce06fd (patch)
treeab5bd92a582e4030664992721658565cf555bef4 /src/select/properties
parent99cd3758f85614529f53ac788313b4da586edd73 (diff)
downloadlibcss-d64a9192f0b59a725abcfe3e6fb30467d4ce06fd.tar.gz
libcss-d64a9192f0b59a725abcfe3e6fb30467d4ce06fd.tar.bz2
Use appropriate enum labels.
(They have the same values anyway.)
Diffstat (limited to 'src/select/properties')
-rw-r--r--src/select/properties/break_inside.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/select/properties/break_inside.c b/src/select/properties/break_inside.c
index af0259f..4252fb8 100644
--- a/src/select/properties/break_inside.c
+++ b/src/select/properties/break_inside.c
@@ -17,23 +17,23 @@
css_error css__cascade_break_inside(uint32_t opv, css_style *style,
css_select_state *state)
{
- uint16_t value = CSS_BREAK_AFTER_AUTO;
+ uint16_t value = CSS_BREAK_INSIDE_AUTO;
UNUSED(style);
if (isInherit(opv) == false) {
switch (getValue(opv)) {
case BREAK_INSIDE_AUTO:
- value = CSS_BREAK_AFTER_AUTO;
+ value = CSS_BREAK_INSIDE_AUTO;
break;
case BREAK_INSIDE_AVOID:
- value = CSS_BREAK_AFTER_AVOID;
+ value = CSS_BREAK_INSIDE_AVOID;
break;
case BREAK_INSIDE_AVOID_PAGE:
- value = CSS_BREAK_AFTER_AVOID_PAGE;
+ value = CSS_BREAK_INSIDE_AVOID_PAGE;
break;
case BREAK_INSIDE_AVOID_COLUMN:
- value = CSS_BREAK_AFTER_AVOID_COLUMN;
+ value = CSS_BREAK_INSIDE_AVOID_COLUMN;
break;
}
}