MAINTAINERCLEANFILES = $(man3)
C2MANFLAGS = $(includepath) -DDONT_HAVE_FRIBIDI_CONFIG_H -M "$(PACKAGE_NAME)"
-VPATH += $(includevpath)
c2man.stamp: $(headers)
@$(RM) $@.tmp
/* FriBidi
* common.h - common include for library sources
*
- * $Id: common.h,v 1.2 2004-04-27 16:47:22 behdad Exp $
+ * $Id: common.h,v 1.3 2004-04-27 23:53:43 behdad Exp $
* $Author: behdad $
- * $Date: 2004-04-27 16:47:22 $
- * $Revision: 1.2 $
+ * $Date: 2004-04-27 23:53:43 $
+ * $Revision: 1.3 $
* $Source: /home/behdad/src/fdo/fribidi/togit/git/../fribidi/fribidi2/lib/common.h,v $
*
* Author:
#ifndef FALSE
# define FALSE (0==1)
-#endif /* !FRIBIDI_FALSE */
+#endif /* !FALSE */
#ifndef TRUE
# define TRUE (!FALSE)
*
* For licensing issues, contact <license@farsiweb.info>.
*/
-/* $Id: fribidi-mirroring.c,v 1.2 2004-04-27 15:23:25 behdad Exp $
+/* $Id: fribidi-mirroring.c,v 1.3 2004-04-27 23:53:43 behdad Exp $
* $Author: behdad $
- * $Date: 2004-04-27 15:23:25 $
- * $Revision: 1.2 $
+ * $Date: 2004-04-27 23:53:43 $
+ * $Revision: 1.3 $
* $Source: /home/behdad/src/fdo/fribidi/togit/git/../fribidi/fribidi2/lib/fribidi-mirroring.c,v $
*
* Authors:
FriBidiChar *mirrored_ch
)
{
- int pos, step;
+ register int pos;
+ int step;
fribidi_boolean found;
pos = step = (nFriBidiMirroredChars / 2) + 1;
break;
}
found = FriBidiMirroredChars[pos].ch == ch;
+
if (mirrored_ch)
*mirrored_ch = found ? FriBidiMirroredChars[pos].mirrored_ch : ch;