aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/frame.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 65cd4fa62b6..d0130c73474 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
12009-06-27 Chong Yidong <cyd@stupidchicken.com> 12009-06-27 Chong Yidong <cyd@stupidchicken.com>
2 2
3 * frame.c (x_get_arg): Check if dpyinfo is non-NULL.
4
3 * xdisp.c (mouse_face_from_buffer_pos): Fix detection of 5 * xdisp.c (mouse_face_from_buffer_pos): Fix detection of
4 truncation glyphs (Bug#3686). 6 truncation glyphs (Bug#3686).
5 7
diff --git a/src/frame.c b/src/frame.c
index 10713826b50..9e05b1b8456 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -4009,7 +4009,7 @@ x_get_arg (dpyinfo, alist, param, attribute, class, type)
4009 look in the X resources. */ 4009 look in the X resources. */
4010 if (EQ (tem, Qnil)) 4010 if (EQ (tem, Qnil))
4011 { 4011 {
4012 if (attribute) 4012 if (attribute && dpyinfo)
4013 { 4013 {
4014 tem = display_x_get_resource (dpyinfo, 4014 tem = display_x_get_resource (dpyinfo,
4015 build_string (attribute), 4015 build_string (attribute),