mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Oops, someone added stuff he wuz not s'posed to
This commit is contained in:
parent
0e5853cae7
commit
dd2516f597
@ -177,12 +177,12 @@ extern struct dom_stack_context_info dom_stack_trace_context_info;
|
||||
/** Iterate the stack from bottom to top. */
|
||||
#define foreach_dom_stack_state(stack, state, pos) \
|
||||
for ((pos) = 0; (pos) < (stack)->depth; (pos)++) \
|
||||
if (((state) = &(stack)->states[(pos)]) && !(state)->invisible)
|
||||
if (((state) = &(stack)->states[(pos)]))
|
||||
|
||||
/** Iterate the stack from top to bottom. */
|
||||
#define foreachback_dom_stack_state(stack, state, pos) \
|
||||
for ((pos) = (stack)->depth - 1; (pos) >= 0; (pos)--) \
|
||||
if (((state) = &(stack)->states[(pos)]) && !(state)->invisible)
|
||||
if (((state) = &(stack)->states[(pos)]))
|
||||
|
||||
|
||||
/* Life cycle functions. */
|
||||
|
Loading…
Reference in New Issue
Block a user