diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/dispnew.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index b1f15f2ee8e..137555efb9b 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -45,8 +45,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 45 | #include "xterm.h" | 45 | #include "xterm.h" |
| 46 | #endif /* HAVE_X_WINDOWS */ | 46 | #endif /* HAVE_X_WINDOWS */ |
| 47 | 47 | ||
| 48 | extern char *getenv (); | ||
| 49 | |||
| 50 | #define max(a, b) ((a) > (b) ? (a) : (b)) | 48 | #define max(a, b) ((a) > (b) ? (a) : (b)) |
| 51 | #define min(a, b) ((a) < (b) ? (a) : (b)) | 49 | #define min(a, b) ((a) < (b) ? (a) : (b)) |
| 52 | 50 | ||
| @@ -1999,9 +1997,9 @@ init_display () | |||
| 1999 | if (! display_arg) | 1997 | if (! display_arg) |
| 2000 | { | 1998 | { |
| 2001 | #ifdef VMS | 1999 | #ifdef VMS |
| 2002 | display_arg = getenv ("DECW$DISPLAY"); | 2000 | display_arg = (getenv ("DECW$DISPLAY") != 0); |
| 2003 | #else | 2001 | #else |
| 2004 | display_arg = getenv ("DISPLAY"); | 2002 | display_arg = (getenv ("DISPLAY") != 0); |
| 2005 | #endif | 2003 | #endif |
| 2006 | } | 2004 | } |
| 2007 | 2005 | ||