diff src/w32xfns.c @ 34999:549bbda5364a

(get_frame_dc): Abort if called on a non-w32 frame.
author Andrew Innes <andrewi@gnu.org>
date Tue, 02 Jan 2001 22:45:32 +0000
parents 9c0d7d896682
children 7a9bc23b91e7
line wrap: on
line diff
--- a/src/w32xfns.c	Tue Jan 02 22:44:52 2001 +0000
+++ b/src/w32xfns.c	Tue Jan 02 22:45:32 2001 +0000
@@ -122,6 +122,9 @@
 {
   HDC hdc;
 
+  if (f->output_method != output_w32)
+    abort ();
+
   enter_crit ();
 
   hdc = GetDC (f->output_data.w32->window_desc);