mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
* frame.c (x_get_arg): Check if dpyinfo is non-NULL.
This commit is contained in:
parent
f5594f039f
commit
4e23bedbfa
@ -1,5 +1,7 @@
|
||||
2009-06-27 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* frame.c (x_get_arg): Check if dpyinfo is non-NULL.
|
||||
|
||||
* xdisp.c (mouse_face_from_buffer_pos): Fix detection of
|
||||
truncation glyphs (Bug#3686).
|
||||
|
||||
|
@ -4009,7 +4009,7 @@ x_get_arg (dpyinfo, alist, param, attribute, class, type)
|
||||
look in the X resources. */
|
||||
if (EQ (tem, Qnil))
|
||||
{
|
||||
if (attribute)
|
||||
if (attribute && dpyinfo)
|
||||
{
|
||||
tem = display_x_get_resource (dpyinfo,
|
||||
build_string (attribute),
|
||||
|
Loading…
Reference in New Issue
Block a user