diff options
Diffstat (limited to 'src/Toolbar.cc')
-rw-r--r-- | src/Toolbar.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc index 7cda0b0..7dd4c58 100644 --- a/src/Toolbar.cc +++ b/src/Toolbar.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Toolbar.cc,v 1.137 2004/01/16 11:41:38 fluxgen Exp $ | 25 | // $Id: Toolbar.cc,v 1.138 2004/01/21 13:36:09 fluxgen Exp $ |
26 | 26 | ||
27 | #include "Toolbar.hh" | 27 | #include "Toolbar.hh" |
28 | 28 | ||
@@ -370,7 +370,7 @@ void Toolbar::reconfigure() { | |||
370 | tools.begin(), | 370 | tools.begin(), |
371 | FbTk::StringUtil::toLower); | 371 | FbTk::StringUtil::toLower); |
372 | 372 | ||
373 | if (tools.size() == m_tools.size() && tools.size() != 0) { | 373 | if (!tools.empty() && tools.size() == m_tools.size()) { |
374 | StringList::const_iterator tool_it = tools.begin(); | 374 | StringList::const_iterator tool_it = tools.begin(); |
375 | StringList::const_iterator current_tool_it = m_tools.begin(); | 375 | StringList::const_iterator current_tool_it = m_tools.begin(); |
376 | StringList::const_iterator tool_it_end = tools.end(); | 376 | StringList::const_iterator tool_it_end = tools.end(); |