ref: 6a96bbe2752cf306ddb096a1be69d22888ec57f5
parent: f0987abdc24b136100656f49ecfe3997869cd93d
author: Werner Lemberg <[email protected]>
date: Thu Oct 28 04:51:15 EDT 2010
[ftraster] Minor fixes. Reported by Tom Bishop <[email protected]>. * src/raster/ftraster.c (ULong): Remove unused typedef. (TWorker): Remove unused variable `precision_mask'.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2010-10-28 Werner Lemberg <[email protected]>
+ [ftraster] Minor fixes.
+
+ Reported by Tom Bishop <[email protected]>.
+
+ * src/raster/ftraster.c (ULong): Remove unused typedef.
+ (TWorker): Remove unused variable `precision_mask'.
+
+2010-10-28 Werner Lemberg <[email protected]>
+
[ftraster] Fix rendering.
Problem reported by Tom Bishop <[email protected]>; see
--- a/src/raster/ftraster.c
+++ b/src/raster/ftraster.c
@@ -302,7 +302,6 @@
typedef short Short;
typedef unsigned short UShort, *PUShort;
typedef long Long, *PLong;
- typedef unsigned long ULong;
typedef unsigned char Byte, *PByte;
typedef char Bool;
@@ -448,7 +447,6 @@
Int precision_bits; /* precision related variables */
Int precision;
Int precision_half;
- Long precision_mask;
Int precision_shift;
Int precision_step;
Int precision_jitter;
@@ -671,7 +669,6 @@
ras.precision = 1 << ras.precision_bits;
ras.precision_half = ras.precision / 2;
ras.precision_shift = ras.precision_bits - Pixel_Bits;
- ras.precision_mask = -ras.precision;
}