mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
Fix compilation with --disable-css.
Compilation failed due to missing DEBUG_CSS test. This was introduced in commit 98260f7970bcd940f2d2146ac7b5a980a7586082
This commit is contained in:
parent
fa0fd41c94
commit
25536d1e2f
@ -151,8 +151,9 @@ html_stack_dup(struct html_context *html_context, enum html_element_mortality_ty
|
|||||||
if (ep->attr.title) e->attr.title = stracpy(ep->attr.title);
|
if (ep->attr.title) e->attr.title = stracpy(ep->attr.title);
|
||||||
if (ep->attr.select) e->attr.select = stracpy(ep->attr.select);
|
if (ep->attr.select) e->attr.select = stracpy(ep->attr.select);
|
||||||
|
|
||||||
|
#ifdef CONFIG_CSS
|
||||||
e->attr.id = e->attr.class = NULL;
|
e->attr.id = e->attr.class = NULL;
|
||||||
|
#endif
|
||||||
/* We don't want to propagate these. */
|
/* We don't want to propagate these. */
|
||||||
/* XXX: For sure? --pasky */
|
/* XXX: For sure? --pasky */
|
||||||
e->attr.onclick = e->attr.ondblclick = e->attr.onmouseover = e->attr.onhover
|
e->attr.onclick = e->attr.ondblclick = e->attr.onmouseover = e->attr.onhover
|
||||||
|
Loading…
x
Reference in New Issue
Block a user