1
0
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:
Laurent MONIN 2007-10-12 10:51:49 +02:00
parent 944a8e7bd9
commit 192c2a9e12

View File

@ -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 */