summaryrefslogtreecommitdiff
path: root/x11-misc/xmountains/files/xmountains-2.9-fno-common.patch
blob: e7140ca4fadafc49144d64e724dc356e02c463fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/X_graphics.c
+++ b/X_graphics.c
@@ -10,7 +10,6 @@
 #include "paint.h"
 char X_graphics_Id[]="$Id: X_graphics.c,v 1.26 2009/08/28 09:09:17 spb Exp $";
 
-char *display=NULL;       /* name of display to open, NULL for default */
 char *geom=NULL;          /* geometry of window, NULL for default */
 
 Atom wm_protocols;
@@ -264,7 +263,8 @@
   graph_height = gptr->graph_height;
 /*{{{open display*/
 
-  dpy = XOpenDisplay(display);
+/* display to open, NULL for default */
+  dpy = XOpenDisplay(NULL);
   
   if( ! dpy )
   {