From: Behdad Esfahbod Date: Thu, 24 Apr 2008 04:44:21 +0000 (+0000) Subject: Minor. X-Git-Tag: PANGO_1_21_1~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1db041b2108a332b42479231d8041d097adc41de;p=platform%2Fupstream%2Fpango.git Minor. svn path=/trunk/; revision=2612 --- diff --git a/pango/break.c b/pango/break.c index 5ac7dee..fba8b85 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)