aboutsummaryrefslogtreecommitdiff
path: root/src/Toolbar.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-09-08 18:38:30 (GMT)
committermarkt <markt>2007-09-08 18:38:30 (GMT)
commit16218ae90b2499773d0c49a8c2900f269f5a2974 (patch)
treeb0bff08ecdd983808eeec136700bd27ea16ae03a /src/Toolbar.cc
parentadddf014bd80d5ea7595fc1e8df233a857b8d90f (diff)
downloadfluxbox_pavel-16218ae90b2499773d0c49a8c2900f269f5a2974.zip
fluxbox_pavel-16218ae90b2499773d0c49a8c2900f269f5a2974.tar.bz2
fix crash when changing toolbar visibility with empty toolbar.tools
Diffstat (limited to 'src/Toolbar.cc')
-rw-r--r--src/Toolbar.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index ad1a8e5..b5ad967 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.cc
@@ -412,7 +412,7 @@ void Toolbar::reconfigure() {
412 412
413 m_tools = tools; // copy values 413 m_tools = tools; // copy values
414 414
415 if (m_tools.size()) { 415 if (!m_tools.empty()) {
416 // make lower case 416 // make lower case
417 transform(m_tools.begin(), m_tools.end(), 417 transform(m_tools.begin(), m_tools.end(),
418 m_tools.begin(), 418 m_tools.begin(),