diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2008-08-14 05:52:39 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2008-08-14 05:52:39 (GMT) |
commit | e169d33552c8e7070aa6e13da0187f2013b4cfc3 (patch) | |
tree | ae9e92c7e885791c7f47645184070cbcd441ab94 /src/ToolFactory.cc | |
parent | c82e7c0080f8a5c14dcf95ec92dc42f59ea9dd8b (diff) | |
parent | 91ca3bc5c8e2b892a9a81b18246f72aba7deebfd (diff) | |
download | fluxbox-e169d33552c8e7070aa6e13da0187f2013b4cfc3.zip fluxbox-e169d33552c8e7070aa6e13da0187f2013b4cfc3.tar.bz2 |
Merge branch 'master' into to_push
Diffstat (limited to 'src/ToolFactory.cc')
-rw-r--r-- | src/ToolFactory.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ToolFactory.cc b/src/ToolFactory.cc index e6d633e..51692ad 100644 --- a/src/ToolFactory.cc +++ b/src/ToolFactory.cc | |||
@@ -120,8 +120,7 @@ ToolbarItem *ToolFactory::create(const std::string &name, const FbTk::FbWindow & | |||
120 | dynamic_cast<ButtonTheme &>(*m_button_theme), | 120 | dynamic_cast<ButtonTheme &>(*m_button_theme), |
121 | screen().imageControl()); | 121 | screen().imageControl()); |
122 | 122 | ||
123 | } else if (name == "nextwindow" || | 123 | } else { |
124 | name == "prevwindow") { | ||
125 | 124 | ||
126 | FbTk::RefCount<FbTk::Command<void> > cmd(FbTk::CommandParser<void>::instance().parse(name)); | 125 | FbTk::RefCount<FbTk::Command<void> > cmd(FbTk::CommandParser<void>::instance().parse(name)); |
127 | if (*cmd == 0) // we need a command | 126 | if (*cmd == 0) // we need a command |