aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2009-06-27 19:50:50 +0000
committerChong Yidong2009-06-27 19:50:50 +0000
commit4e23bedbfa150e4b93add54e11ee06e0e6ebc6e1 (patch)
tree14c6083e5f5fdeb8df1d331e35617637ed302331 /src
parentf5594f039ff931d6f3071848f03513c6afd5733b (diff)
downloademacs-4e23bedbfa150e4b93add54e11ee06e0e6ebc6e1.tar.gz
emacs-4e23bedbfa150e4b93add54e11ee06e0e6ebc6e1.zip
* frame.c (x_get_arg): Check if dpyinfo is non-NULL.
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),