aboutsummaryrefslogtreecommitdiff
path: root/src/Remember.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/Remember.cc
parentadddf014bd80d5ea7595fc1e8df233a857b8d90f (diff)
downloadfluxbox-16218ae90b2499773d0c49a8c2900f269f5a2974.zip
fluxbox-16218ae90b2499773d0c49a8c2900f269f5a2974.tar.bz2
fix crash when changing toolbar visibility with empty toolbar.tools
Diffstat (limited to 'src/Remember.cc')
-rw-r--r--src/Remember.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Remember.cc b/src/Remember.cc
index 2de6d86..f5a5ac8 100644
--- a/src/Remember.cc
+++ b/src/Remember.cc
@@ -387,7 +387,7 @@ int Remember::parseApp(ifstream &file, Application &app, string *first_line) {
387 387
388 bool had_error = false; 388 bool had_error = false;
389 389
390 if (!str_key.size()) 390 if (str_key.empty())
391 continue; //read next line 391 continue; //read next line
392 if (strcasecmp(str_key.c_str(), "Workspace") == 0) { 392 if (strcasecmp(str_key.c_str(), "Workspace") == 0) {
393 unsigned int w; 393 unsigned int w;