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 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
diff --git a/ChangeLog b/ChangeLog
index 2ab12c7..769445c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,8 @@
2001-07-07 David Turner <david@freetype.org>
* src/truetype/ttgload.c, src/truetype/ttinterp.c, src/pcf/pcfread:
- removed pedantic compiler warnings when the bytecode interpreter is
- compiled in
+ Removed pedantic compiler warnings when the bytecode interpreter is
+ compiled in.
2001-07-03 Werner Lemberg <wl@gnu.org>
@@ -16,8 +16,8 @@
2001-06-28 David Turner <david@freetype.org>
- * include/internal/ftstream.h: modified the definitions
- of the FT_GET_XXXX and NEXT_XXXX macros for 16-bit correctness
+ * include/internal/ftstream.h: Modified the definitions
+ of the FT_GET_XXXX and NEXT_XXXX macros for 16-bit correctness.
2001-06-26 Werner Lemberg <wl@gnu.org>
diff --git a/include/freetype/internal/ftstream.h b/include/freetype/internal/ftstream.h
index 3512f4a..df9c4e3 100644
--- a/include/freetype/internal/ftstream.h
+++ b/include/freetype/internal/ftstream.h
@@ -205,7 +205,7 @@ FT_BEGIN_HEADER
(FT_UInt32)(FT_Byte)(p)[0] ) )
-#define NEXT_Char( buffer ) \
+#define NEXT_Char( buffer ) \
( (signed char)*buffer++ )
#define NEXT_Byte( buffer ) \
@@ -214,39 +214,39 @@ FT_BEGIN_HEADER
#define NEXT_Short( buffer ) \
( (short)( buffer += 2, FT_GET_SHORT_BE( buffer - 2 ) ) )
-#define NEXT_UShort( buffer ) \
+#define NEXT_UShort( buffer ) \
( (unsigned short)( buffer += 2, FT_GET_USHORT_BE( buffer - 2 ) ) )
#define NEXT_Offset( buffer ) \
( (long)( buffer += 3, FT_GET_OFF3_BE( buffer - 3 ) ) )
-#define NEXT_UOffset( buffer ) \
+#define NEXT_UOffset( buffer ) \
( (unsigned long)( buffer += 3, FT_GET_UOFF3_BE( buffer - 3 ) ) )
#define NEXT_Long( buffer ) \
( (long)( buffer += 4, FT_GET_LONG_BE( buffer - 4 ) ) )
-#define NEXT_ULong( buffer ) \
+#define NEXT_ULong( buffer ) \
( (unsigned long)( buffer += 4, FT_GET_ULONG_BE( buffer - 4 ) ) )
#define NEXT_ShortLE( buffer ) \
( (short)( buffer += 2, FT_GET_SHORT_LE( buffer - 2 ) ) )
-#define NEXT_UShortLE( buffer ) \
+#define NEXT_UShortLE( buffer ) \
( (unsigned short)( buffer += 2, FT_GET_USHORT_LE( buffer - 2 ) ) )
#define NEXT_OffsetLE( buffer ) \
( (long)( buffer += 3, FT_GET_OFF3_LE( buffer - 3 ) ) )
-#define NEXT_UOffsetLE( buffer ) \
+#define NEXT_UOffsetLE( buffer ) \
( (unsigned long)( buffer += 3, FT_GET_UOFF3_LE( buffer - 3 ) ) )
#define NEXT_LongLE( buffer ) \
( (long)( buffer += 4, FT_GET_LONG_LE( buffer - 4 ) ) )
-#define NEXT_ULongLE( buffer ) \
+#define NEXT_ULongLE( buffer ) \
( (unsigned long)( buffer += 4, FT_GET_ULONG_LE( buffer - 4 ) ) )
diff --git a/src/truetype/ttinterp.c b/src/truetype/ttinterp.c
index 6e1d85f..9748e9a 100644
--- a/src/truetype/ttinterp.c
+++ b/src/truetype/ttinterp.c
@@ -6760,7 +6760,7 @@
FT_Short AA, BB;
- AA = (FT_Short)(( opcode & 1 ) << 14);
+ AA = (FT_Short)( ( opcode & 1 ) << 14 );
BB = (FT_Short)( AA ^ 0x4000 );
if ( opcode < 4 )