aboutsummaryrefslogtreecommitdiff
path: root/src/FbCommands.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-01-21 14:14:40 (GMT)
committerfluxgen <fluxgen>2004-01-21 14:14:40 (GMT)
commit5e5118b4e3b283220533aa4845e879150ae705ee (patch)
tree54686f39a478492fe64e56f8fb8cf39a370f22e6 /src/FbCommands.cc
parent9c0272004e2509a2206d94dfbe30bb035c8c6d67 (diff)
downloadfluxbox-5e5118b4e3b283220533aa4845e879150ae705ee.zip
fluxbox-5e5118b4e3b283220533aa4845e879150ae705ee.tar.bz2
using empty instead of size
Diffstat (limited to 'src/FbCommands.cc')
-rw-r--r--src/FbCommands.cc7
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
88void RestartFluxboxCmd::execute() { 88void 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
96void ReconfigureFluxboxCmd::execute() { 95void ReconfigureFluxboxCmd::execute() {