diff options
Diffstat (limited to 'zwgc/X_fonts.c')
-rw-r--r-- | zwgc/X_fonts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zwgc/X_fonts.c b/zwgc/X_fonts.c index c1fc804..23b9cc1 100644 --- a/zwgc/X_fonts.c +++ b/zwgc/X_fonts.c @@ -131,7 +131,7 @@ static char *Font_to_hex(num) char *temp; int i; - temp=(char *) malloc((sizeof(Font)<<1)+1); + temp=(char *) malloc((sizeof(Font)<<1)+2); for (i=0;i<((sizeof(Font)<<1)+1);i++) temp[i] = hexdigits[(num>>(i*4))&0x0f]; |