1
0
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:
Chong Yidong 2009-06-27 19:50:50 +00:00
parent f5594f039f
commit 4e23bedbfa
2 changed files with 3 additions and 1 deletions

View File

@ -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).

View File

@ -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),