From 19bfac5195a1917f4a0bbcf910e90d5b800c5146 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 11 Jan 2003 07:13:49 +0000 Subject: broken to all hell. oh no. --- otk/display.cc | 1 + otk/util.cc | 1 + 2 files changed, 2 insertions(+) (limited to 'otk') diff --git a/otk/display.cc b/otk/display.cc index 33dca01b..c1d6c61e 100644 --- a/otk/display.cc +++ b/otk/display.cc @@ -93,6 +93,7 @@ void OBDisplay::initialize(char *name) (void)junk; // Open the X display + printf("getenv(DISPLAY)=%s\n", getenv("DISPLAY")); if (!(display = XOpenDisplay(name))) { printf(_("Unable to open connection to the X server. Please set the \n\ DISPLAY environment variable approriately, or use the '-display' command \n\ diff --git a/otk/util.cc b/otk/util.cc index ebca51d5..39ea0f6c 100644 --- a/otk/util.cc +++ b/otk/util.cc @@ -39,6 +39,7 @@ string expandTilde(const string& s) { const char* const home = getenv("HOME"); if (home == NULL) return s; +printf("tilde: getenv(DISPLAY)=%s\n", getenv("DISPLAY")); return string(home + s.substr(s.find('/'))); } -- cgit v1.2.3