summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'patchsets/motif/2.2.3/11_all_CAN-2005-0605.patch')
-rw-r--r--patchsets/motif/2.2.3/11_all_CAN-2005-0605.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/patchsets/motif/2.2.3/11_all_CAN-2005-0605.patch b/patchsets/motif/2.2.3/11_all_CAN-2005-0605.patch
deleted file mode 100644
index b0ff689..0000000
--- a/patchsets/motif/2.2.3/11_all_CAN-2005-0605.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- openMotif-2.2.3/lib/Xm/Xpmscan.c.orig
-+++ openMotif-2.2.3/lib/Xm/Xpmscan.c
-@@ -672,8 +672,8 @@
- char *dst;
- unsigned int *iptr;
- char *data;
-- unsigned int x, y, i;
-- int bits, depth, ibu, ibpp, offset;
-+ unsigned int x, y;
-+ int bits, depth, ibu, ibpp, offset, i;
- unsigned long lbt;
- Pixel pixel, px;
-
-@@ -684,6 +684,9 @@
- ibpp = image->bits_per_pixel;
- offset = image->xoffset;
-
-+ if (image->bitmap_unit < 0)
-+ return (XpmNoMemory);
-+
- if ((image->bits_per_pixel | image->depth) == 1) {
- ibu = image->bitmap_unit;
- for (y = 0; y < height; y++)
---- openMotif-2.2.3/lib/Xm/Xpmcreate.c.orig
-+++ openMotif-2.2.3/lib/Xm/Xpmcreate.c
-@@ -1265,10 +1265,10 @@
- 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;