diff options
author | Andrew Innes <andrewi@gnu.org> | 2001-01-02 22:45:32 +0000 |
---|---|---|
committer | Andrew Innes <andrewi@gnu.org> | 2001-01-02 22:45:32 +0000 |
commit | 56c16321625dc1a0429c1eda365f563f31c37921 (patch) | |
tree | 6e2c7b014578391625632fba8b0ab2144910d075 /src/w32xfns.c | |
parent | abf8c61b624d713f50912523d63deff2ad0ca6fb (diff) |
(get_frame_dc): Abort if called on a non-w32 frame.
Diffstat (limited to 'src/w32xfns.c')
-rw-r--r-- | src/w32xfns.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/w32xfns.c b/src/w32xfns.c index 9117f7e91a..49d3e1c2e7 100644 --- a/src/w32xfns.c +++ b/src/w32xfns.c @@ -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); |