aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Remember.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Remember.cc b/src/Remember.cc
index 05690d4..27a8da2 100644
--- a/src/Remember.cc
+++ b/src/Remember.cc
@@ -21,7 +21,7 @@
21// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22// DEALINGS IN THE SOFTWARE. 22// DEALINGS IN THE SOFTWARE.
23 23
24// $Id: Remember.cc,v 1.41 2004/09/02 09:52:26 akir Exp $ 24// $Id: Remember.cc,v 1.42 2004/09/04 04:54:38 akir Exp $
25 25
26#include "Remember.hh" 26#include "Remember.hh"
27#include "ClientPattern.hh" 27#include "ClientPattern.hh"
@@ -461,7 +461,9 @@ void Remember::load() {
461 std::list<ClientPattern *> grouped_pats; 461 std::list<ClientPattern *> grouped_pats;
462 while (getline(apps_file, line) && ! apps_file.eof()) { 462 while (getline(apps_file, line) && ! apps_file.eof()) {
463 row++; 463 row++;
464 if (line[0] == '#') 464 FbTk::StringUtil::removeFirstWhitespace(line);
465 FbTk::StringUtil::removeTrailingWhitespace(line);
466 if (line.size() == 0 || line[0] == '#')
465 continue; 467 continue;
466 string key; 468 string key;
467 int err=0; 469 int err=0;