Commit 4e23bedb authored by Chong Yidong's avatar Chong Yidong

* frame.c (x_get_arg): Check if dpyinfo is non-NULL.

parent f5594f03
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),
......
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