Enlightenment CVS committal Author : mej Project : eterm Module : Eterm
Dir : eterm/Eterm/src Modified Files: pixmap.c Log Message: Tue May 10 14:57:45 2005 Michael Jennings (mej) Previous patch was incomplete; this fixes it. ---------------------------------------------------------------------- =================================================================== RCS file: /cvsroot/enlightenment/eterm/Eterm/src/pixmap.c,v retrieving revision 1.111 retrieving revision 1.112 diff -u -3 -r1.111 -r1.112 --- pixmap.c 9 May 2005 01:17:25 -0000 1.111 +++ pixmap.c 10 May 2005 18:59:50 -0000 1.112 @@ -21,7 +21,7 @@ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -static const char cvs_ident[] = "$Id: pixmap.c,v 1.111 2005/05/09 01:17:25 mej Exp $"; +static const char cvs_ident[] = "$Id: pixmap.c,v 1.112 2005/05/10 18:59:50 mej Exp $"; #include "config.h" #include "feature.h" @@ -1578,6 +1578,7 @@ for (x = -w; x < 0; x++) { int r, g, b; + b = ((DATA16 *) ptr)[x]; r = ( (b >> 10 ) * rm ) >> 8; r = ( r > 0x001f ) ? 0xfc00 : ( r << 10 ); g = (((b >> 5 ) & 0x003f ) * gm ) >> 8; ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs