diff options
author | Andrew Innes <andrewi@gnu.org> | 2001-02-06 22:20:12 +0000 |
---|---|---|
committer | Andrew Innes <andrewi@gnu.org> | 2001-02-06 22:20:12 +0000 |
commit | a8370d728ce5d19b208d183bb664d7e11c9d6481 (patch) | |
tree | 26a56e1b0bd8dfdc2c2840eafe4b49457ea088b6 /src/w32xfns.c | |
parent | 98c4a0745f827100db7361d544c9cd62a4769665 (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.c | 2 |
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 = |