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
diff --git a/ChangeLog b/ChangeLog
index 4118d2b..09b555b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,18 +1,14 @@
2006-06-04 David Turner <david@freetype.org>
- * src/base/ftutil.c (ft_mem_qrealloc): fix the function
- to accept 'item_size == 0' as well, though this sounds
- weird, it can theorically happen.
+ * src/base/ftutil.c (ft_mem_qrealloc): Fix the function to accept
+ `item_size == 0' as well -- though this sounds weird, it can
+ theorically happen. This fixes Savannah bug #16669.
- see bug #16669
-
- * src/pfr/pfrobjs.c (pfr_face_init): fix the computation
- of 'face->num_glyphs' which missed the last glyph, due to
- the offset-by-1 computation, since the PFR format doesn't
- guarantee that glyph index 0 corresponds to the "missing
- glyph"
-
- should fix bug #16668
+ * src/pfr/pfrobjs.c (pfr_face_init): Fix the computation
+ of `face->num_glyphs' which missed the last glyph, due to
+ the offset-by-1 computation, since the PFR format doesn't
+ guarantee that glyph index 0 corresponds to the `missing
+ glyph. This fixes Savannah bug #16668.
2006-05-25 Werner Lemberg <wl@gnu.org>
@@ -28,7 +24,7 @@
2006-05-19 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
Apply patch by Derek Clegg to fix two memory leaks in the MacOS
- resource fork handler. This fixes savannah bug #16631.
+ resource fork handler. This fixes Savannah bug #16631.
* src/base/ftobjs.c (load_face_in_embedded_rfork): Replace
`FT_Stream_Close' by `FT_Stream_Free' to fix memory leak.
@@ -222,7 +218,7 @@
Updated.
* builds/unix/install-sh: Updated from `texinfo' CVS module at
- savannah.gnu.org.
+ Savannah.gnu.org.
* devel/ftoption.h: Synchronize with
include/freetype/config/ftoption.h.
@@ -1507,7 +1503,7 @@
2006-01-22 Werner Lemberg <wl@gnu.org>
* builds/unix/install-sh, builds/unix/mkinstalldirs: Updated from
- `texinfo' CVS module at savannah.gnu.org.
+ `texinfo' CVS module at Savannah.gnu.org.
2006-01-21 Werner Lemberg <wl@gnu.org>
diff --git a/src/base/ftutil.c b/src/base/ftutil.c
index 6331969..d76f5e5 100644
--- a/src/base/ftutil.c
+++ b/src/base/ftutil.c
@@ -120,10 +120,10 @@
FT_Error error = FT_Err_Ok;
- /* note that we now accept item_size == 0 as a valid
- * parameter. this in order to cover very weird cases
- * where a ALLOC_MULT macro would be called
- */
+ /* Note that we now accept `item_size == 0' as a valid parameter, in
+ * order to cover very weird cases where an ALLOC_MULT macro would be
+ * called.
+ */
if ( cur_count < 0 || new_count < 0 || item_size < 0 )
{
/* may help catch/prevent nasty security issues */