diff options
author | Matthieu Herrb <matthieu.herrb@laas.fr> | 2005-02-21 20:52:32 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu.herrb@laas.fr> | 2005-02-21 20:52:32 +0000 |
commit | 639b3598cd0e7214010248efb62b75ef85a8e5c5 (patch) | |
tree | 420203c4179ad722021b31e0c5df14db469178f2 /src/create.c | |
parent | f1908d7ee5e2d2d44db2116b3c88213da9dfb854 (diff) |
Avoid inifite loops. From Chris Gilbert in bug #1920.sco_port_update-baseXORG-6_8_99_7XORG-6_8_99_6XORG-6_8_99_5XORG-6_8_99_4XORG-6_8_99_3XORG-6_8_99_2XORG-6_8_99_1sco_port_update
Diffstat (limited to 'src/create.c')
-rw-r--r-- | src/create.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/create.c b/src/create.c index a1e274d..8bf9d2e 100644 --- a/src/create.c +++ b/src/create.c @@ -1,4 +1,4 @@ -/* $XdotOrg: xc/extras/Xpm/lib/create.c,v 1.2.4.1 2004/09/15 15:47:39 daniel Exp $ */ +/* $XdotOrg: xc/extras/Xpm/lib/create.c,v 1.4 2004/11/25 21:19:11 herrb Exp $ */ /* * Copyright (C) 1989-95 GROUPE BULL * @@ -1215,10 +1215,10 @@ PutImagePixels(image, width, height, pixelindex, pixels) register char *src; register char *dst; register unsigned int *iptr; - register unsigned int x, y, i; + register unsigned int x, y; register char *data; Pixel pixel, px; - int nbytes, depth, ibu, ibpp; + int nbytes, depth, ibu, ibpp, i; data = image->data; iptr = pixelindex; |