summaryrefslogtreecommitdiff
path: root/render/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/html.c')
-rw-r--r--render/html.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/render/html.c b/render/html.c
index 0f854bc67..1ff1c7cc7 100644
--- a/render/html.c
+++ b/render/html.c
@@ -1135,8 +1135,10 @@ bool html_can_begin_conversion(html_content *htmlc)
bool got_modified_stylesheet = false;
for (i = 0; i != htmlc->stylesheet_count; i++) {
- if (htmlc->stylesheets[i].modified)
+ if (htmlc->stylesheets[i].modified) {
got_modified_stylesheet = true;
+ break;
+ }
}
if (htmlc->base.active != 0 || got_modified_stylesheet)