changeset 8765:072403f56892

10l patch by Christian LESTRADE <christian.lestrade@free.fr>
author arpi
date Sat, 04 Jan 2003 11:41:13 +0000
parents 081116fcc50a
children 50ffffd0bc18
files TOOLS/subfont-c/subfont.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/TOOLS/subfont-c/subfont.c	Sat Jan 04 11:18:42 2003 +0000
+++ b/TOOLS/subfont-c/subfont.c	Sat Jan 04 11:41:13 2003 +0000
@@ -1030,6 +1030,7 @@
 
     abuffer = (unsigned char*)malloc(width*height);
     if (abuffer==NULL) ERROR("malloc failed.");
+    memset(abuffer, 0, width*height);
     alpha();
     write_bitmap(abuffer, 'a');