Commit 23888717 authored by Chong Yidong's avatar Chong Yidong

(x_update_menu_appearance): Check validity of menu font before using

it.
parent 0a7c6626
2008-08-21 Chong Yidong <cyd@stupidchicken.com>
* xfaces.c (x_update_menu_appearance): Check validity of menu font
before using it.
* puresize.h (BASE_PURESIZE): Increase to 1250000.
2008-08-20 Adrian Robert <Adrian.B.Robert@gmail.com>
......
......@@ -3733,6 +3733,10 @@ x_update_menu_appearance (f)
}
if (face->font
/* On Solaris 5.8, it's been reported that the `menu' face
can be unspecified here, during startup. Why this
happens remains unknown. -- cyd */
&& FONTP (LFACE_FONT (lface))
&& (!UNSPECIFIEDP (LFACE_FAMILY (lface))
|| !UNSPECIFIEDP (LFACE_FOUNDRY (lface))
|| !UNSPECIFIEDP (LFACE_SWIDTH (lface))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment