diff options
author | Behdad Esfahbod <behdad@src.gnome.org> | 2008-04-24 04:44:21 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2008-04-24 04:44:21 +0000 |
commit | 1db041b2108a332b42479231d8041d097adc41de (patch) | |
tree | 4a52be6fda259b8bf7292fdf2f9a577045c772fd /pango/break.c | |
parent | 43b3edade6f3e97477e737cba6bcb075890303c8 (diff) | |
download | pango-1db041b2108a332b42479231d8041d097adc41de.tar.gz |
Minor.
svn path=/trunk/; revision=2612
Diffstat (limited to 'pango/break.c')
-rw-r--r-- | pango/break.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/break.c b/pango/break.c index 5ac7dee8..fba8b85e 100644 --- a/pango/break.c +++ b/pango/break.c @@ -345,7 +345,7 @@ static const int line_break_indexes[] = { }; #define BREAK_TYPE_SAFE(btype) \ - (btype < G_N_ELEMENTS(line_break_indexes) ? btype : G_UNICODE_BREAK_UNKNOWN) + ((btype) < G_N_ELEMENTS(line_break_indexes) ? (btype) : G_UNICODE_BREAK_UNKNOWN) #define BREAK_INDEX(btype) \ (line_break_indexes[(btype)]) #define BREAK_ROW(before_type) \ @@ -353,7 +353,7 @@ static const int line_break_indexes[] = { #define BREAK_OP(before_type, after_type) \ (BREAK_ROW (before_type)[BREAK_INDEX (after_type)]) #define IN_BREAK_TABLE(btype) \ - (btype < G_N_ELEMENTS(line_break_indexes) && BREAK_INDEX(btype) < INDEX_END_OF_TABLE) + ((btype) < G_N_ELEMENTS(line_break_indexes) && BREAK_INDEX((btype)) < INDEX_END_OF_TABLE) |