Commit 078c825d authored by Thomas Holder's avatar Thomas Holder

Fix stylesheet recursion

This was doing recursion *and* a for-loop for the same data structure.

Fixes #504

(cherry-picked from master f1138143dff8)
parent 95698304
Pipeline #153595818 passed with stages
in 95 minutes
......@@ -2151,7 +2151,7 @@ cr_sel_eng_process_stylesheet ( CRSelEng * a_eng,
*tab_len = *tab_size - *index;
// Process other document stylesheets last
for (cur = a_stylesheet->next ; cur ; cur = cur->next) {
if (cur = a_stylesheet->next) {
cr_sel_eng_process_stylesheet( a_eng, a_node, cur, stmts_tab, tab_size, tab_len, index );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment