diff options
| author | Chong Yidong | 2009-06-27 19:50:50 +0000 |
|---|---|---|
| committer | Chong Yidong | 2009-06-27 19:50:50 +0000 |
| commit | 4e23bedbfa150e4b93add54e11ee06e0e6ebc6e1 (patch) | |
| tree | 14c6083e5f5fdeb8df1d331e35617637ed302331 /src/frame.c | |
| parent | f5594f039ff931d6f3071848f03513c6afd5733b (diff) | |
| download | emacs-4e23bedbfa150e4b93add54e11ee06e0e6ebc6e1.tar.gz emacs-4e23bedbfa150e4b93add54e11ee06e0e6ebc6e1.zip | |
* frame.c (x_get_arg): Check if dpyinfo is non-NULL.
Diffstat (limited to 'src/frame.c')
| -rw-r--r-- | src/frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
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), |