diff options
author | John Wiegley <johnw@newartisans.com> | 2004-09-27 00:12:10 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-09-27 00:12:10 -0400 |
commit | eb6861e192281b612e115c8b3bf240e574bca835 (patch) | |
tree | 2118627c251a4764ffad0d718c8b7a306777052f | |
parent | f8a62c444f070b5e7f1ed00a2a322d01da729775 (diff) | |
download | fork-ledger-eb6861e192281b612e115c8b3bf240e574bca835.tar.gz fork-ledger-eb6861e192281b612e115c8b3bf240e574bca835.tar.bz2 fork-ledger-eb6861e192281b612e115c8b3bf240e574bca835.zip |
fixed assertion
-rw-r--r-- | journal.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -245,7 +245,7 @@ account_t * account_t::find_account(const std::string& name, char buf[256]; std::string::size_type sep = name.find(':'); - assert(sep < 256); + assert(sep < 256|| sep == std::string::npos); const char * first, * rest; if (sep == std::string::npos) { |