summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/handlers/html/html_object.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/content/handlers/html/html_object.c b/content/handlers/html/html_object.c
index 7eab46647..b56f8e468 100644
--- a/content/handlers/html/html_object.c
+++ b/content/handlers/html/html_object.c
@@ -166,7 +166,7 @@ html_object_callback(hlcache_handle *object,
c->base.status == CONTENT_STATUS_DONE)
content__reformat(&c->base, false,
c->base.available_width,
- c->base.height);
+ c->base.available_height);
}
break;
@@ -459,7 +459,7 @@ html_object_callback(hlcache_handle *object,
event->type == CONTENT_MSG_ERRORCODE)) {
/* all objects have arrived */
content__reformat(&c->base, false, c->base.available_width,
- c->base.height);
+ c->base.available_height);
content_set_done(&c->base);
} else if (nsoption_bool(incremental_reflow) &&
event->type == CONTENT_MSG_DONE &&
@@ -484,7 +484,7 @@ html_object_callback(hlcache_handle *object,
content__reformat(&c->base,
false,
c->base.available_width,
- c->base.height);
+ c->base.available_height);
}
}