Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 83656
Collapse All | Expand All

(-)lesstif-0.94.0/lib/Xm-2.1/Xpmscan.c.orig (-2 / +5 lines)
Lines 672-679 Link Here
672
    char *dst;
672
    char *dst;
673
    unsigned int *iptr;
673
    unsigned int *iptr;
674
    char *data;
674
    char *data;
675
    unsigned int x, y, i;
675
    unsigned int x, y;
676
    int bits, depth, ibu, ibpp, offset;
676
    int bits, depth, ibu, ibpp, offset, i;
677
    unsigned long lbt;
677
    unsigned long lbt;
678
    Pixel pixel, px;
678
    Pixel pixel, px;
679
679
Lines 684-689 Link Here
684
    ibpp = image->bits_per_pixel;
684
    ibpp = image->bits_per_pixel;
685
    offset = image->xoffset;
685
    offset = image->xoffset;
686
686
687
    if (image->bitmap_unit < 0)
688
	    return (XpmNoMemory);
689
687
    if ((image->bits_per_pixel | image->depth) == 1) {
690
    if ((image->bits_per_pixel | image->depth) == 1) {
688
	ibu = image->bitmap_unit;
691
	ibu = image->bitmap_unit;
689
	for (y = 0; y < height; y++)
692
	for (y = 0; y < height; y++)
(-)lesstif-0.94.0/lib/Xm-2.1/Xpmcreate.c.orig (-2 / +2 lines)
Lines 1265-1274 Link Here
1265
    register char *src;
1265
    register char *src;
1266
    register char *dst;
1266
    register char *dst;
1267
    register unsigned int *iptr;
1267
    register unsigned int *iptr;
1268
    register unsigned int x, y, i;
1268
    register unsigned int x, y;
1269
    register char *data;
1269
    register char *data;
1270
    Pixel pixel, px;
1270
    Pixel pixel, px;
1271
    int nbytes, depth, ibu, ibpp;
1271
    int nbytes, depth, ibu, ibpp, i;
1272
1272
1273
    data = image->data;
1273
    data = image->data;
1274
    iptr = pixelindex;
1274
    iptr = pixelindex;

Return to bug 83656