changeset 91191:5bce041b93dc

(OTF_SYM_TAG, OTF_TAG_STR): Fix argument names.
author Kenichi Handa <handa@m17n.org>
date Thu, 06 Dec 2007 07:25:29 +0000
parents cdc63ae7ea34
children bcad98389aeb
files src/ftfont.c
diffstat 1 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/ftfont.c	Thu Dec 06 07:24:26 2007 +0000
+++ b/src/ftfont.c	Thu Dec 06 07:25:29 2007 +0000
@@ -329,18 +329,18 @@
   unsigned int *features[2];
 };
 
-#define OTF_SYM_TAG(sym, tag)					\
+#define OTF_SYM_TAG(SYM, TAG)					\
   do {								\
-    unsigned char *p = SDATA (SYMBOL_NAME (val));		\
-    tag = (p[0] << 24) | (p[1] << 16) | (p[2] << 8) | p[3];	\
+    unsigned char *p = SDATA (SYMBOL_NAME (SYM));		\
+    TAG = (p[0] << 24) | (p[1] << 16) | (p[2] << 8) | p[3];	\
   } while (0)
 
-#define OTF_TAG_STR(tag, p)			\
+#define OTF_TAG_STR(TAG, P)			\
   do {						\
-    (p)[0] = (char) (tag >> 24);		\
-    (p)[1] = (char) ((tag >> 16) & 0xFF);	\
-    (p)[2] = (char) ((tag >> 8) & 0xFF);	\
-    (p)[3] = (char) (tag & 0xFF);		\
+    (P)[0] = (char) (TAG >> 24);		\
+    (P)[1] = (char) ((TAG >> 16) & 0xFF);	\
+    (P)[2] = (char) ((TAG >> 8) & 0xFF);	\
+    (P)[3] = (char) (TAG & 0xFF);		\
   } while (0)
 
 static struct OpenTypeSpec *