From 773cc5b562131a3a0c2399861f85d01bbe768f5b Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 18 Mar 2013 15:01:56 +0000 Subject: [PATCH] Stop looking on first modified sheet found. --- render/html.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)