diff options
-rw-r--r-- | TOOLS/subfont-c/subfont.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/TOOLS/subfont-c/subfont.c b/TOOLS/subfont-c/subfont.c index c49bbc8d2a..8608fa12e4 100644 --- a/TOOLS/subfont-c/subfont.c +++ b/TOOLS/subfont-c/subfont.c @@ -1030,6 +1030,7 @@ int main(int argc, char **argv) { abuffer = (unsigned char*)malloc(width*height); if (abuffer==NULL) ERROR("malloc failed."); + memset(abuffer, 0, width*height); alpha(); write_bitmap(abuffer, 'a'); |