diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32term.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/w32term.c b/src/w32term.c index 4d1006e9c19..7fa3ca0fece 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -762,17 +762,10 @@ w32_draw_fringe_bitmap (w, row, p) | |||
| 762 | static void | 762 | static void |
| 763 | w32_define_fringe_bitmap (which, bits, h, wd) | 763 | w32_define_fringe_bitmap (which, bits, h, wd) |
| 764 | int which; | 764 | int which; |
| 765 | unsigned char *bits; | 765 | unsigned short *bits; |
| 766 | int h, wd; | 766 | int h, wd; |
| 767 | { | 767 | { |
| 768 | unsigned short *w32bits | 768 | fringe_bmp[which] = CreateBitmap (wd, h, 1, 1, bits); |
| 769 | = (unsigned short *)alloca (h * sizeof (unsigned short)); | ||
| 770 | unsigned short *wb = w32bits; | ||
| 771 | int j; | ||
| 772 | |||
| 773 | for (j = 0; j < h; j++) | ||
| 774 | *wb++ = (unsigned short)*bits++; | ||
| 775 | fringe_bmp[which] = CreateBitmap (wd, h, 1, 1, w32bits); | ||
| 776 | } | 769 | } |
| 777 | 770 | ||
| 778 | static void | 771 | static void |