From 71479dd1891d0f89e734c07fdce0b926fe36d926 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Tue, 23 Jan 2001 23:52:09 +0000 Subject: [PATCH] how the HELL did that 8 get there and things still compile? SVN revision: 4145 --- loaders/loader_db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loaders/loader_db.c b/loaders/loader_db.c index fba6f20..737f8c9 100644 --- a/loaders/loader_db.c +++ b/loaders/loader_db.c @@ -227,7 +227,7 @@ load (ImlibImage *im, ImlibProgressFunction progress, { int x; - memcpy(ptr, body, im->w * im->h 8 sizeof(DATA32)); + memcpy(ptr, body, im->w * im->h * sizeof(DATA32)); for (x = 0; x < (im->w * im->h); x++) SWAP32(ptr[x]); }