mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-26 07:11:34 -08:00
(w32_define_fringe_bitmap): Bitmaps are now 16 bits wide,
so it is no longer necessary to expand them here.
This commit is contained in:
parent
82b05d81af
commit
03cce111cf
1 changed files with 2 additions and 9 deletions
|
|
@ -762,17 +762,10 @@ w32_draw_fringe_bitmap (w, row, p)
|
|||
static void
|
||||
w32_define_fringe_bitmap (which, bits, h, wd)
|
||||
int which;
|
||||
unsigned char *bits;
|
||||
unsigned short *bits;
|
||||
int h, wd;
|
||||
{
|
||||
unsigned short *w32bits
|
||||
= (unsigned short *)alloca (h * sizeof (unsigned short));
|
||||
unsigned short *wb = w32bits;
|
||||
int j;
|
||||
|
||||
for (j = 0; j < h; j++)
|
||||
*wb++ = (unsigned short)*bits++;
|
||||
fringe_bmp[which] = CreateBitmap (wd, h, 1, 1, w32bits);
|
||||
fringe_bmp[which] = CreateBitmap (wd, h, 1, 1, bits);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue