diff options
author | rathnor <rathnor> | 2004-10-11 22:48:35 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2004-10-11 22:48:35 (GMT) |
commit | 9fbf1ab395ec8253cf942e04145501b11a6e35f5 (patch) | |
tree | 7bcfecb23e539c975faaae3918406a012bf802f7 /src | |
parent | 16d6ee7152ef3577fb02fb010606ff9f1638adf2 (diff) | |
download | fluxbox_lack-9fbf1ab395ec8253cf942e04145501b11a6e35f5.zip fluxbox_lack-9fbf1ab395ec8253cf942e04145501b11a6e35f5.tar.bz2 |
fix mainWarnDisplaySet -> mainWarnDisplayEnv
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cc | 4 |
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()"); |