X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fbitmap.c;h=d43411699873b2fca5119cc26a7752b2466813fa;hb=d4693f35f3fb3bec10b9e89860444420c1eb854b;hp=4f25bbd42d2454b1dd16033d6b486cee52fb3b9a;hpb=4d25b8cc63c6f23600e6c6f7f1df8d58153bbf9b;p=16.git diff --git a/src/lib/bitmap.c b/src/lib/bitmap.c index 4f25bbd4..d4341169 100755 --- a/src/lib/bitmap.c +++ b/src/lib/bitmap.c @@ -161,7 +161,7 @@ bitmapLoadPcxTiles(char *filename, word twidth, word theight) { /* allocate the pixel storage for the tiles */ ts.data = malloc(sizeof(byte*) * ts.ntiles); - ts.data[0] = malloc(sizeof(byte) * ts.ntiles * twidth * theight); + //ts.data[0] = malloc(sizeof(byte) * ts.ntiles * twidth * theight); for(i=1; i < ts.ntiles; i++) { ts.data[i] = ts.data[i-1] + twidth * theight; }