summaryrefslogtreecommitdiff
path: root/src/w32xfns.c
diff options
context:
space:
mode:
authorAndrew Innes <andrewi@gnu.org>2001-02-06 22:19:23 +0000
committerAndrew Innes <andrewi@gnu.org>2001-02-06 22:19:23 +0000
commit3a454d9b63f985d0c4a6293977011f29dc0a07e9 (patch)
tree3923ad9d80a04b446332525ddea95e40d7d0b59f /src/w32xfns.c
parent8288313ab4c7f71a4da9d6f7ef31e0e6b14e1d94 (diff)
downloademacs-3a454d9b63f985d0c4a6293977011f29dc0a07e9.tar.gz
(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 49d3e1c2e7e..689a2829eb3 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 =