changeset 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 5091928844df
children c048304a388f
files src/w32xfns.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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);