Stop looking on first modified sheet found.

This commit is contained in:
Michael Drake 2013-03-18 15:01:56 +00:00
parent 07bdb324c1
commit 773cc5b562
1 changed files with 3 additions and 1 deletions

View File

@ -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)