pango r2612 - trunk/pango



Author: behdad
Date: Thu Apr 24 04:44:21 2008
New Revision: 2612
URL: http://svn.gnome.org/viewvc/pango?rev=2612&view=rev

Log:
Minor.


Modified:
   trunk/pango/break.c

Modified: trunk/pango/break.c
==============================================================================
--- trunk/pango/break.c	(original)
+++ trunk/pango/break.c	Thu Apr 24 04:44:21 2008
@@ -345,7 +345,7 @@
 };
 
 #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 @@
 #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)
 
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]