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:
@@ -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++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user