formatting
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
diff --git a/ChangeLog b/ChangeLog
index 360b67d..42abd1d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,11 +1,11 @@
2005-11-15 David Turner <david@freetype.org>
- * src/base/fttrigon.c (ft_trig_prenorm): fixed a bug that created
+ * src/base/fttrigon.c (ft_trig_prenorm): Fix a bug that created
invalid computations, resulting in very weird bugs in TrueType
- bytecode hinted fonts
+ bytecode hinted fonts.
- * src/truetype/ttinterp.c: redefined FT_UNUSED_EXEC to not perform
- a structure copy each time. Wooot. !
+ * src/truetype/ttinterp.c (FT_UNUSED_EXEC): Don't perform a
+ structure copy each time.
2005-11-11 Werner Lemberg <wl@gnu.org>
diff --git a/src/truetype/ttinterp.c b/src/truetype/ttinterp.c
index 73ff7f8..6cd9ffc 100644
--- a/src/truetype/ttinterp.c
+++ b/src/truetype/ttinterp.c
@@ -94,13 +94,18 @@
#define CUR (*exc) /* see ttobjs.h */
-#define FT_UNUSED_EXEC FT_UNUSED(exc)
+ /*************************************************************************/
+ /* */
+ /* This macro is used whenever `exec' is unused in a function, to avoid */
+ /* stupid warnings from pedantic compilers. */
+ /* */
+#define FT_UNUSED_EXEC FT_UNUSED( exc )
#else /* static implementation */
#define CUR cur
-#define FT_UNUSED_EXEC int __dummy=__dummy
+#define FT_UNUSED_EXEC int __dummy = __dummy
static
TT_ExecContextRec cur; /* static exec. context variable */
@@ -121,14 +126,6 @@
/*************************************************************************/
/* */
- /* This macro is used whenever `exec' is unused in a function, to avoid */
- /* stupid warnings from pedantic compilers. */
- /* */
-/* #define FT_UNUSED_EXEC FT_UNUSED( CUR ) */
-
-
- /*************************************************************************/
- /* */
/* This macro is used whenever `args' is unused in a function, to avoid */
/* stupid warnings from pedantic compilers. */
/* */