Stop looking on first modified sheet found.
This commit is contained in:
parent
07bdb324c1
commit
773cc5b562
|
@ -1135,8 +1135,10 @@ bool html_can_begin_conversion(html_content *htmlc)
|
||||||
bool got_modified_stylesheet = false;
|
bool got_modified_stylesheet = false;
|
||||||
|
|
||||||
for (i = 0; i != htmlc->stylesheet_count; i++) {
|
for (i = 0; i != htmlc->stylesheet_count; i++) {
|
||||||
if (htmlc->stylesheets[i].modified)
|
if (htmlc->stylesheets[i].modified) {
|
||||||
got_modified_stylesheet = true;
|
got_modified_stylesheet = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (htmlc->base.active != 0 || got_modified_stylesheet)
|
if (htmlc->base.active != 0 || got_modified_stylesheet)
|
||||||
|
|
Loading…
Reference in New Issue