aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-10-11 22:48:35 (GMT)
committerrathnor <rathnor>2004-10-11 22:48:35 (GMT)
commit9fbf1ab395ec8253cf942e04145501b11a6e35f5 (patch)
tree7bcfecb23e539c975faaae3918406a012bf802f7 /src
parent16d6ee7152ef3577fb02fb010606ff9f1638adf2 (diff)
downloadfluxbox_pavel-9fbf1ab395ec8253cf942e04145501b11a6e35f5.zip
fluxbox_pavel-9fbf1ab395ec8253cf942e04145501b11a6e35f5.tar.bz2
fix mainWarnDisplaySet -> mainWarnDisplayEnv
Diffstat (limited to 'src')
-rw-r--r--src/main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cc b/src/main.cc
index 3c9dc7f..b7fb949 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -20,7 +20,7 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: main.cc,v 1.31 2004/08/31 15:26:39 rathnor Exp $ 23// $Id: main.cc,v 1.32 2004/10/11 22:48:35 rathnor Exp $
24 24
25#include "fluxbox.hh" 25#include "fluxbox.hh"
26#include "version.h" 26#include "version.h"
@@ -187,7 +187,7 @@ int main(int argc, char **argv) {
187 session_display = argv[i]; 187 session_display = argv[i];
188 std::string display_env = "DISPLAY=" + session_display; 188 std::string display_env = "DISPLAY=" + session_display;
189 if (putenv(const_cast<char *>(display_env.c_str()))) { 189 if (putenv(const_cast<char *>(display_env.c_str()))) {
190 cerr<<_FBTEXT(main, WarnDisplaySet, 190 cerr<<_FBTEXT(main, WarnDisplayEnv,
191 "warning: couldn't set environment variable 'DISPLAY'", 191 "warning: couldn't set environment variable 'DISPLAY'",
192 "")<<endl; 192 "")<<endl;
193 perror("putenv()"); 193 perror("putenv()");