1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-23 06:38:05 +01:00

Optimized some of the previous changes related to order of evaluation.

This commit is contained in:
dan
2000-11-06 14:36:22 +00:00
parent e7ce6468fc
commit 77670119a1
2 changed files with 5 additions and 4 deletions

View File

@@ -185,9 +185,9 @@ RLoadJPEG(RContext *context, char *file_name, int index)
jpeg_read_scanlines(&cinfo, buffer,(JDIMENSION) 1);
bptr = buffer[0];
for (i=0; i<cinfo.image_width; i++) {
*ptr = *(ptr+1) = *(ptr+2) = *bptr;
bptr++;
ptr += 3;
*ptr++ = *bptr;
*ptr++ = *bptr;
*ptr++ = *bptr++;
}
}
}