Commit 56c16321 authored by Andrew Innes's avatar Andrew Innes

(get_frame_dc): Abort if called on a non-w32 frame.

parent abf8c61b
......@@ -122,6 +122,9 @@ get_frame_dc (FRAME_PTR f)
HDC hdc;
if (f->output_method != output_w32)
abort ();
enter_crit ();
hdc = GetDC (f->output_data.w32->window_desc);
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