Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
23888717
Commit
23888717
authored
Aug 21, 2008
by
Chong Yidong
Browse files
(x_update_menu_appearance): Check validity of menu font before using
it.
parent
0a7c6626
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
src/ChangeLog
src/ChangeLog
+3
-0
src/xfaces.c
src/xfaces.c
+4
-0
No files found.
src/ChangeLog
View file @
23888717
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>
...
...
src/xfaces.c
View file @
23888717
...
...
@@ -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
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment