summaryrefslogtreecommitdiff
path: root/src/w32xfns.c
diff options
context:
space:
mode:
authorAndrew Innes <andrewi@gnu.org>2001-02-06 22:20:12 +0000
committerAndrew Innes <andrewi@gnu.org>2001-02-06 22:20:12 +0000
commita8370d728ce5d19b208d183bb664d7e11c9d6481 (patch)
tree26a56e1b0bd8dfdc2c2840eafe4b49457ea088b6 /src/w32xfns.c
parent98c4a0745f827100db7361d544c9cd62a4769665 (diff)
(select_palette): Do nothing if palette hasn't yet
been created. It seems we can get sent window messages such as WM_ERASEBKGND before we properly update a frame.
Diffstat (limited to 'src/w32xfns.c')
-rw-r--r--src/w32xfns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32xfns.c b/src/w32xfns.c
index 49d3e1c2e7..689a2829eb 100644
--- a/src/w32xfns.c
+++ b/src/w32xfns.c
@@ -90,7 +90,7 @@ select_palette (FRAME_PTR f, HDC hdc)
return;
if (display_info->palette == 0)
- abort ();
+ return;
if (!NILP (Vw32_enable_palette))
f->output_data.w32->old_palette =