diff options
Diffstat (limited to 'content')
-rw-r--r-- | content/content.c | 1 | ||||
-rw-r--r-- | content/content.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/content/content.c b/content/content.c index 417f05561..55dfbe7df 100644 --- a/content/content.c +++ b/content/content.c @@ -257,6 +257,7 @@ void content_reformat(struct content *c, unsigned long width, unsigned long heig c->status == CONTENT_STATUS_DONE); c->available_width = width; handler_map[c->type].reformat(c, width, height); + content_broadcast(c, CONTENT_MSG_REFORMAT, 0); } diff --git a/content/content.h b/content/content.h index c8f5cb099..b1198f7db 100644 --- a/content/content.h +++ b/content/content.h @@ -66,7 +66,8 @@ typedef enum { CONTENT_MSG_DONE, /**< finished */ CONTENT_MSG_ERROR, /**< error occurred */ CONTENT_MSG_STATUS, /**< new status string */ - CONTENT_MSG_REDIRECT /**< replacement URL */ + CONTENT_MSG_REDIRECT, /**< replacement URL */ + CONTENT_MSG_REFORMAT /**< content_reformat done */ } content_msg; /** Linked list of users of a content. */ |