diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/fbrun/Makemodule.am | 2 | ||||
-rw-r--r-- | util/fbrun/main.cc | 2 | ||||
-rw-r--r-- | util/fbsetroot.cc | 2 | ||||
-rw-r--r-- | util/fluxbox-remote.cc | 1 | ||||
-rw-r--r-- | util/fluxbox-update_configs.cc | 3 |
5 files changed, 5 insertions, 5 deletions
diff --git a/util/fbrun/Makemodule.am b/util/fbrun/Makemodule.am index cb98e92..f730ac8 100644 --- a/util/fbrun/Makemodule.am +++ b/util/fbrun/Makemodule.am | |||
@@ -2,7 +2,7 @@ bin_PROGRAMS += fbrun | |||
2 | 2 | ||
3 | fbrun_CPPFLAGS = \ | 3 | fbrun_CPPFLAGS = \ |
4 | $(AM_CPPFLAGS) \ | 4 | $(AM_CPPFLAGS) \ |
5 | -I$(fbtk_incdir) | 5 | -I$(src_incdir) |
6 | 6 | ||
7 | fbrun_SOURCES = \ | 7 | fbrun_SOURCES = \ |
8 | util/fbrun/FbRun.hh \ | 8 | util/fbrun/FbRun.hh \ |
diff --git a/util/fbrun/main.cc b/util/fbrun/main.cc index 5b4156b..ba2d09d 100644 --- a/util/fbrun/main.cc +++ b/util/fbrun/main.cc | |||
@@ -48,7 +48,7 @@ using std::endl; | |||
48 | using std::string; | 48 | using std::string; |
49 | 49 | ||
50 | void showUsage(const char *progname) { | 50 | void showUsage(const char *progname) { |
51 | cerr<<"fbrun 1.5 : (c) 2002-2013 Henrik Kinnunen"<<endl; | 51 | cerr<<"fbrun 1.5 : (c) 2002-2014 Henrik Kinnunen"<<endl; |
52 | cerr<<"Usage: "<< | 52 | cerr<<"Usage: "<< |
53 | progname<<" [arguments]"<<endl<< | 53 | progname<<" [arguments]"<<endl<< |
54 | "Arguments: "<<endl<< | 54 | "Arguments: "<<endl<< |
diff --git a/util/fbsetroot.cc b/util/fbsetroot.cc index 6dd478b..3a2f2b9 100644 --- a/util/fbsetroot.cc +++ b/util/fbsetroot.cc | |||
@@ -360,7 +360,7 @@ void fbsetroot::gradient() { | |||
360 | */ | 360 | */ |
361 | void fbsetroot::usage(int exit_code) { | 361 | void fbsetroot::usage(int exit_code) { |
362 | _FB_USES_NLS; | 362 | _FB_USES_NLS; |
363 | cout << m_app_name << " 2.3 : (c) 2003-2011 Fluxbox Development Team" << endl; | 363 | cout << m_app_name << " 2.3 : (c) 2003-2014 Fluxbox Development Team" << endl; |
364 | cout << m_app_name << " 2.1 : (c) 2002 Claes Nasten" << endl; | 364 | cout << m_app_name << " 2.1 : (c) 2002 Claes Nasten" << endl; |
365 | cout << m_app_name << " 2.0 : (c) 1997-2000 Brad Hughes\n" << endl; | 365 | cout << m_app_name << " 2.0 : (c) 1997-2000 Brad Hughes\n" << endl; |
366 | cout << _FB_CONSOLETEXT(fbsetroot, Usage, | 366 | cout << _FB_CONSOLETEXT(fbsetroot, Usage, |
diff --git a/util/fluxbox-remote.cc b/util/fluxbox-remote.cc index 340ac5b..0fcd118 100644 --- a/util/fluxbox-remote.cc +++ b/util/fluxbox-remote.cc | |||
@@ -57,6 +57,7 @@ int main(int argc, char **argv) { | |||
57 | disp = XOpenDisplay(NULL); | 57 | disp = XOpenDisplay(NULL); |
58 | if (!disp) { | 58 | if (!disp) { |
59 | perror("error, can't open display."); | 59 | perror("error, can't open display."); |
60 | rc = EXIT_FAILURE; | ||
60 | return rc; | 61 | return rc; |
61 | } | 62 | } |
62 | 63 | ||
diff --git a/util/fluxbox-update_configs.cc b/util/fluxbox-update_configs.cc index b93f344..164b073 100644 --- a/util/fluxbox-update_configs.cc +++ b/util/fluxbox-update_configs.cc | |||
@@ -55,7 +55,6 @@ using std::set; | |||
55 | using std::map; | 55 | using std::map; |
56 | using std::list; | 56 | using std::list; |
57 | using std::exit; | 57 | using std::exit; |
58 | using std::getenv; | ||
59 | 58 | ||
60 | string read_file(const string& filename); | 59 | string read_file(const string& filename); |
61 | void write_file(const string& filename, const string &contents); | 60 | void write_file(const string& filename, const string &contents); |
@@ -606,7 +605,7 @@ int main(int argc, char **argv) { | |||
606 | } | 605 | } |
607 | 606 | ||
608 | if (rc_filename.empty()) | 607 | if (rc_filename.empty()) |
609 | rc_filename = getenv("HOME") + string("/.fluxbox/init"); | 608 | rc_filename = FbTk::StringUtil::expandFilename("~/.fluxbox/init"); |
610 | 609 | ||
611 | FbTk::ResourceManager resource_manager(rc_filename.c_str(),false); | 610 | FbTk::ResourceManager resource_manager(rc_filename.c_str(),false); |
612 | if (!resource_manager.load(rc_filename.c_str())) { | 611 | if (!resource_manager.load(rc_filename.c_str())) { |