diff src/frame.c @ 103603:c99edccfe4d8

* frame.c (x_get_arg): Check if dpyinfo is non-NULL.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 27 Jun 2009 19:50:50 +0000
parents 26fe9add7299
children 340c701162a6
line wrap: on
line diff
--- 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),