HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
abf8c61
)
(get_frame_dc): Abort if called on a non-w32 frame.
author
Andrew Innes
<andrewi@gnu.org>
Tue, 2 Jan 2001 22:45:32 +0000
(22:45 +0000)
committer
Andrew Innes
<andrewi@gnu.org>
Tue, 2 Jan 2001 22:45:32 +0000
(22:45 +0000)
src/w32xfns.c
patch
|
blob
|
blame
|
history
diff --git
a/src/w32xfns.c
b/src/w32xfns.c
index
9117f7e
..
49d3e1c
100644
(file)
--- 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);