Commit b8075603 authored by YAMAMOTO Mitsuharu's avatar YAMAMOTO Mitsuharu
Browse files

Fix W32-specific part of last change.

parent 04b66ce7
......@@ -2181,10 +2181,13 @@ image_get_x_image_or_dc (struct frame *f, struct image *img, bool mask_p,
release_frame_dc (f, frame_dc);
*prev = SelectObject (ximg, !mask_p ? img->pixmap : img->mask);
return ximg;
}
static void image_unget_x_image_or_dc (struct frame *img, bool mask_p,
XImagePtr_or_DC ximg, HGDIOBJ prev)
static void
image_unget_x_image_or_dc (struct image *img, bool mask_p,
XImagePtr_or_DC ximg, HGDIOBJ prev)
{
SelectObject (ximg, prev);
DeleteDC (ximg);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment