From abcc1ab7667386896494e0623228c9e8af52ab89 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Sun, 15 Jun 2008 12:28:08 +0000 Subject: [PATCH] * Fix a buffer initialisation issue in the sortchars utility. --- tools/sortchars.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/sortchars.c b/tools/sortchars.c index 59a59da..9984ebd 100644 --- a/tools/sortchars.c +++ b/tools/sortchars.c @@ -89,7 +89,7 @@ int main(int argc, char *argv[]) for(i = 0x20; i < GLYPHS; i++) for(y = 0; y < DY; y++) for(x = 0; x < DX; x++) - total[GLYPHS][x][y] = 0; + total[i][x][y] = 0; /* Draw all glyphs and count their pixels */ for(i = 0x20; i < GLYPHS; i++)