# HG changeset patch # User Chong Yidong # Date 1246132250 0 # Node ID c99edccfe4d86cd17958dad7499a1d241319983f # Parent c6838f93406e6595faa5c381d071044b8fff0c52 * frame.c (x_get_arg): Check if dpyinfo is non-NULL. diff -r c6838f93406e -r c99edccfe4d8 src/ChangeLog --- a/src/ChangeLog Sat Jun 27 04:21:14 2009 +0000 +++ b/src/ChangeLog Sat Jun 27 19:50:50 2009 +0000 @@ -1,5 +1,7 @@ 2009-06-27 Chong Yidong + * 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). diff -r c6838f93406e -r c99edccfe4d8 src/frame.c --- a/src/frame.c Sat Jun 27 04:21:14 2009 +0000 +++ b/src/frame.c Sat Jun 27 19:50:50 2009 +0000 @@ -4009,7 +4009,7 @@ look in the X resources. */ if (EQ (tem, Qnil)) { - if (attribute) + if (attribute && dpyinfo) { tem = display_x_get_resource (dpyinfo, build_string (attribute),