summaryrefslogtreecommitdiff
path: root/render/box_construct.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/box_construct.c')
-rw-r--r--render/box_construct.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/render/box_construct.c b/render/box_construct.c
index 82b60f97b..0a6ee322e 100644
--- a/render/box_construct.c
+++ b/render/box_construct.c
@@ -942,7 +942,7 @@ void box_set_table_border(struct box *box, int value, colour color)
if (box->type == BOX_TABLE) {
for (unsigned int i = 0; i != 4; i++) {
if (box->style->border[i].style ==
- CSS_BORDER_STYLE_NOT_SET) {
+ CSS_BORDER_STYLE_NONE) {
box->style->border[i].color = color;
box->style->border[i].width.width =
CSS_BORDER_WIDTH_LENGTH;
@@ -967,7 +967,7 @@ void box_set_table_border(struct box *box, int value, colour color)
case BOX_TABLE_CELL:
for (unsigned int i = 0; i != 4; i++) {
if (child->style->border[i].style ==
- CSS_BORDER_STYLE_NOT_SET) {
+ CSS_BORDER_STYLE_NONE) {
child->style->border[i].color = color;
child->style->border[i].width.width =
CSS_BORDER_WIDTH_LENGTH;