[FriBidi-commit] fribidi/charset fribidi-char-sets.c,1.2,1.3

Behdad Esfahbod behdad at pdx.freedesktop.org
Wed May 12 00:06:23 PDT 2004


Update of /cvs/fribidi/fribidi/charset
In directory pdx:/tmp/cvs-serv7241/charset

Modified Files:
	fribidi-char-sets.c 
Log Message:
Updated the gen.tab to work again.  Other fixes here and there.


Index: fribidi-char-sets.c
===================================================================
RCS file: /cvs/fribidi/fribidi/charset/fribidi-char-sets.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- a/fribidi-char-sets.c	3 May 2004 22:05:19 -0000	1.2
+++ b/fribidi-char-sets.c	12 May 2004 07:06:21 -0000	1.3
@@ -107,7 +107,7 @@
 };
 
 #if !FRIBIDI_USE_GLIB
-static char
+static inline char
 toupper (
   /* input */
   char c
@@ -116,7 +116,7 @@
   return c < 'a' || c > 'z' ? c : c + 'A' - 'a';
 }
 
-static int
+static inline int
 fribidi_strcasecmp (
   /* input */
   const char *s1,
@@ -128,7 +128,7 @@
       s1++;
       s2++;
     }
-  return *s1 - *s2;
+  return toupper(*s1) - toupper(*s2);
 }
 #else /* FRIBIDI_USE_GLIB */
 # include <glib/gstrfuncs.h>




More information about the FriBidi-Commit mailing list