From 674ba91f1234b92a9932da7b62e36f61fea01e94 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Wed, 16 Nov 2005 18:09:27 +0000 Subject: [PATCH] formatting --- ChangeLog | 8 ++++---- src/truetype/ttinterp.c | 17 +++++++---------- 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/ChangeLog b/ChangeLog index 360b67d7c..42abd1d9e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,11 +1,11 @@ 2005-11-15 David Turner - * 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 diff --git a/src/truetype/ttinterp.c b/src/truetype/ttinterp.c index 73ff7f8d2..6cd9ffca9 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 */ @@ -119,14 +124,6 @@ #define INS_ARG EXEC_OP_ FT_Long* args /* see ttobjs.h for EXEC_OP_ */ - /*************************************************************************/ - /* */ - /* 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 */