More parentheses so the macro works inside if()

SVN revision: 45992
This commit is contained in:
Iván Briano 2010-02-08 21:20:28 +00:00
parent b9ef31f902
commit 752a730b38
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ struct _Eina_Strbuf
static void _eina_strbuf_init(Eina_Strbuf *buf);
static Eina_Bool _eina_strbuf_resize(Eina_Strbuf *buf, size_t size);
#define _eina_strbuf_grow(_buf, _size) \
(((_size) + 1) > (_buf)->size) ? _eina_strbuf_resize((_buf), (_size)) : EINA_TRUE
((((_size) + 1) > (_buf)->size) ? _eina_strbuf_resize((_buf), (_size)) : EINA_TRUE)
Eina_Bool
eina_strbuf_init(void)