[FriBidi-commit] fribidi2/charset fribidi-char-sets-cap-rtl.c, 1.11, 1.12

Behdad Esfahbod behdad at freedesktop.org
Sun Jan 22 02:12:19 PST 2006


Update of /cvs/fribidi/fribidi2/charset
In directory gabe:/tmp/cvs-serv6171/charset

Modified Files:
	fribidi-char-sets-cap-rtl.c 
Log Message:
Add extra braces to shut gcc warnings up.


Index: fribidi-char-sets-cap-rtl.c
===================================================================
RCS file: /cvs/fribidi/fribidi2/charset/fribidi-char-sets-cap-rtl.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- fribidi-char-sets-cap-rtl.c	30 Jul 2005 09:06:28 -0000	1.11
+++ fribidi-char-sets-cap-rtl.c	22 Jan 2006 10:12:17 -0000	1.12
@@ -105,8 +105,9 @@
 	caprtl_to_unicode[i] = FRIBIDI_UNICODE_CHARS;
 	mark[i] = 0;
 	if (fribidi_get_mirror_char (i, NULL))
-	  DBG
-	    ("warning: I could not map mirroring character map to itself in CapRTL");
+	  {
+	    DBG ("warning: I could not map mirroring character map to itself in CapRTL");
+	  }
 
 	for (j = 0; j < num_types; j++)
 	  if (to_type[j] == CapRTLCharTypes[i])
@@ -147,9 +148,9 @@
       DBG ("warning: could not find a mapping for CapRTL to Unicode:");
       for (j = 0; j < num_types; j++)
 	if (request[j])
-	  DBG2 ("  need this type: %s", fribidi_get_bidi_type_name
-		(to_type[j]));
-
+	  {
+	    DBG2 ("  need this type: %s", fribidi_get_bidi_type_name (to_type[j]));
+	  }
     }
 }
 



More information about the fribidi-commit mailing list