aboutsummaryrefslogtreecommitdiff
path: root/src/FbCommandFactory.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/FbCommandFactory.cc
parent9c0272004e2509a2206d94dfbe30bb035c8c6d67 (diff)
downloadfluxbox_pavel-5e5118b4e3b283220533aa4845e879150ae705ee.zip
fluxbox_pavel-5e5118b4e3b283220533aa4845e879150ae705ee.tar.bz2
using empty instead of size
Diffstat (limited to 'src/FbCommandFactory.cc')
-rw-r--r--src/FbCommandFactory.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/FbCommandFactory.cc b/src/FbCommandFactory.cc
index c8d9f4b..9e4ec8f 100644
--- a/src/FbCommandFactory.cc
+++ b/src/FbCommandFactory.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: FbCommandFactory.cc,v 1.25 2004/01/16 11:41:38 fluxgen Exp $ 23// $Id: FbCommandFactory.cc,v 1.26 2004/01/21 14:11:42 fluxgen Exp $
24 24
25#include "FbCommandFactory.hh" 25#include "FbCommandFactory.hh"
26 26
@@ -252,9 +252,9 @@ FbTk::Command *FbCommandFactory::stringToCommand(const std::string &command,
252 // 252 //
253 // Workspace commands 253 // Workspace commands
254 // 254 //
255 else if (command == "nextworkspace" && arguments.size() == 0) 255 else if (command == "nextworkspace" && arguments.empty())
256 return new NextWorkspaceCmd(); 256 return new NextWorkspaceCmd();
257 else if (command == "prevworkspace" && arguments.size() == 0) 257 else if (command == "prevworkspace" && arguments.empty())
258 return new PrevWorkspaceCmd(); 258 return new PrevWorkspaceCmd();
259 else if (command == "rightworkspace") 259 else if (command == "rightworkspace")
260 return new RightWorkspaceCmd(atoi(arguments.c_str())); 260 return new RightWorkspaceCmd(atoi(arguments.c_str()));