From: H.G. Muller Date: Sat, 17 Oct 2009 02:14:34 +0000 (-0700) Subject: fixed segfaul in convert.c used to convert pixmaps X-Git-Tag: v4.4.1.20091019~10 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=8f900fa19cc077ffe1fa565dfb0ad0b9c8860d6e;p=xboard.git fixed segfaul in convert.c used to convert pixmaps --- diff --git a/pixmaps/convert.c b/pixmaps/convert.c index 3118808..2a82f91 100644 --- a/pixmaps/convert.c +++ b/pixmaps/convert.c @@ -92,7 +92,7 @@ char data[130][130], oData[130][130], sData[130][130], wData[130][130]; main(int argc, char **argv) { - int i, j, k, d, cnt, p, s, t; char c, h, w, *name, buf[80], transparent; + int i, j, k, d, cnt, p, s, t; char c, h, w, name[80], buf[80], transparent; FILE *f; transparent = argc > 1 && !strcmp(argv[1], "-t");