diff options
Diffstat (limited to 'content/content.c')
-rw-r--r-- | content/content.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/content/content.c b/content/content.c index a04051bda..869750100 100644 --- a/content/content.c +++ b/content/content.c @@ -96,6 +96,7 @@ nserror content__init(struct content *c, const content_handler *handler, c->width = 0; c->height = 0; c->available_width = 0; + c->available_height = 0; c->quirks = quirks; c->refresh = 0; nsu_getmonotonic_ms(&c->time); @@ -355,6 +356,7 @@ void content__reformat(struct content *c, bool background, assert(c->locked == false); c->available_width = width; + c->available_height = height; if (c->handler->reformat != NULL) { c->locked = true; |