Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
03cce111
Commit
03cce111
authored
Feb 13, 2004
by
Kim F. Storm
Browse files
(w32_define_fringe_bitmap): Bitmaps are now 16 bits wide,
so it is no longer necessary to expand them here.
parent
82b05d81
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
src/w32term.c
src/w32term.c
+2
-9
No files found.
src/w32term.c
View file @
03cce111
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment