mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Use parenthesis around macro parameters.
Macros concerned are: is_inline_element() is_block_element()
This commit is contained in:
parent
944a8e7bd9
commit
192c2a9e12
@ -137,8 +137,9 @@ struct html_element {
|
||||
ELEMENT_VISITED = 2,
|
||||
} pseudo_class;
|
||||
};
|
||||
#define is_inline_element(e) (e->linebreak == 0)
|
||||
#define is_block_element(e) (e->linebreak > 0)
|
||||
|
||||
#define is_inline_element(e) ((e)->linebreak == 0)
|
||||
#define is_block_element(e) ((e)->linebreak > 0)
|
||||
|
||||
/* Interface for the renderer */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user