Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
xv
xv-3.10a-xwd.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xv-3.10a-xwd.dif of Package xv
--- xvxwd.c +++ xvxwd.c 2008-10-08 15:04:39.848282368 +0200 @@ -193,7 +193,7 @@ int LoadXWD(fname, pinfo) case 16: case 24: case 32: - ; + break; default: xwdError("True/Direct supports only 16, 24, and 32 bits"); return 0; @@ -204,21 +204,20 @@ int LoadXWD(fname, pinfo) for (col=0, xP=pic24+(row*cols*3); col<cols; col++) { register CARD32 ul = getpixnum(ifp); - *xP++ = ul >> red_shift & red_mask ; - *xP++ = ul >> green_shift & green_mask; - *xP++ = ul >> blue_shift & blue_mask ; - }; + *xP++ = ul >> blue_shift & blue_mask ; + *xP++ = ul >> green_shift & green_mask; + *xP++ = ul >> red_shift & red_mask ; + } for (col=0; col<padright; col++) getpixnum(ifp); } } else { for (row=0; row<rows; row++) { for (col=0, xP=pic24+(row*cols*3); col<cols; col++) { register CARD32 ul = getpixnum(ifp); - - *xP++ = ul >> blue_shift & blue_mask ; - *xP++ = ul >> green_shift & green_mask; - *xP++ = ul >> red_shift & red_mask ; - }; + *xP++ = ul >> red_shift & red_mask ; + *xP++ = ul >> green_shift & green_mask; + *xP++ = ul >> blue_shift & blue_mask ; + } for (col=0; col<padright; col++) getpixnum(ifp); } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor