summaryrefslogtreecommitdiff
path: root/x11/mrxvt/patches/patch-ac
blob: ee1a11322e8a3bb61c9f8920e374f15c0cd70b18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ac,v 1.1 2008/03/31 20:28:28 tnn Exp $

--- src/init.c.orig	2007-08-04 23:47:58.000000000 +0200
+++ src/init.c
@@ -1031,7 +1031,7 @@ rxvt_init_resources(rxvt_t* r, int argc,
      * Open display, get options/resources and create the window
      */
     if (IS_NULL(rs[Rs_display_name] = getenv("DISPLAY")))
-	rs[Rs_display_name] = ":0";
+	rs[Rs_display_name] = "Please set $DISPLAY";
 
     rxvt_get_options( r, r_argc, r_argv );
     rxvt_free( r_argv ); /* XXX memory leak? */