diff options
Diffstat (limited to 'src/FbCommands.cc')
-rw-r--r-- | src/FbCommands.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/FbCommands.cc b/src/FbCommands.cc index d4ad87e..99c8eca 100644 --- a/src/FbCommands.cc +++ b/src/FbCommands.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: FbCommands.cc,v 1.22 2003/12/20 17:41:32 fluxgen Exp $ | 22 | // $Id: FbCommands.cc,v 1.23 2004/01/21 14:11:15 fluxgen Exp $ |
23 | 23 | ||
24 | #include "FbCommands.hh" | 24 | #include "FbCommands.hh" |
25 | #include "fluxbox.hh" | 25 | #include "fluxbox.hh" |
@@ -86,11 +86,10 @@ RestartFluxboxCmd::RestartFluxboxCmd(const std::string &cmd):m_cmd(cmd){ | |||
86 | } | 86 | } |
87 | 87 | ||
88 | void RestartFluxboxCmd::execute() { | 88 | void RestartFluxboxCmd::execute() { |
89 | if (m_cmd.size() == 0) { | 89 | if (m_cmd.empty()) |
90 | Fluxbox::instance()->restart(); | 90 | Fluxbox::instance()->restart(); |
91 | } else { | 91 | else |
92 | Fluxbox::instance()->restart(m_cmd.c_str()); | 92 | Fluxbox::instance()->restart(m_cmd.c_str()); |
93 | } | ||
94 | } | 93 | } |
95 | 94 | ||
96 | void ReconfigureFluxboxCmd::execute() { | 95 | void ReconfigureFluxboxCmd::execute() { |