diff options
author | markt <markt> | 2007-09-08 18:38:30 (GMT) |
---|---|---|
committer | markt <markt> | 2007-09-08 18:38:30 (GMT) |
commit | 16218ae90b2499773d0c49a8c2900f269f5a2974 (patch) | |
tree | b0bff08ecdd983808eeec136700bd27ea16ae03a /src/Remember.cc | |
parent | adddf014bd80d5ea7595fc1e8df233a857b8d90f (diff) | |
download | fluxbox-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.cc | 2 |
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; |