History

20100718-1546

forsyth committed 16 years ago

Commit 4bd9ce11 parent 626a97a2 files · +2 −2Browse files

Unified · Split

2 files
  1. include/version.h +1 −1
  2. libmemdraw/draw.c +1 −1
include/version.h+1−1
@@ -1 +1 @@
1#define VERSION "Fourth Edition (20100715)"1#define VERSION "Fourth Edition (20100718)"
libmemdraw/draw.c+1−1
@@ -2465,7 +2465,7 @@ membyteval(Memimage *src) · 2464 unmodified lines
2465 bpp = src->depth;2465 bpp = src->depth;
2466 uc <<= (src->r.min.x&(7/src->depth))*src->depth;2466 uc <<= (src->r.min.x&(7/src->depth))*src->depth;
2467 uc &= ~(0xFF>>bpp);2467 uc &= ~(0xFF>>bpp);
2468 /* pixel value is now in high part of byte. repeat throughout byte 2468 // pixel value is now in high part of byte. repeat throughout byte
2469 val = uc;2469 val = uc;
2470 for(i=bpp; i<8; i<<=1)2470 for(i=bpp; i<8; i<<=1)
2471 val |= val>>i;2471 val |= val>>i;