changeset 35943:7a9bc23b91e7

(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.
author Andrew Innes <andrewi@gnu.org>
date Tue, 06 Feb 2001 22:19:23 +0000
parents d302cde082a0
children 1d857553aea4
files src/w32xfns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32xfns.c	Tue Feb 06 21:02:03 2001 +0000
+++ b/src/w32xfns.c	Tue Feb 06 22:19:23 2001 +0000
@@ -90,7 +90,7 @@
     return;
 
   if (display_info->palette == 0)
-    abort ();
+    return;
 
   if (!NILP (Vw32_enable_palette))
     f->output_data.w32->old_palette =