summaryrefslogtreecommitdiff
path: root/src/account.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/account.cc')
-rw-r--r--src/account.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/account.cc b/src/account.cc
index 0db42cdb..24849a72 100644
--- a/src/account.cc
+++ b/src/account.cc
@@ -136,7 +136,7 @@ string account_t::partial_name(bool flat) const
acct && acct->parent;
acct = acct->parent) {
if (! flat) {
- std::size_t count = acct->children_with_flags(ACCOUNT_EXT_MATCHING);
+ std::size_t count = acct->children_with_flags(ACCOUNT_EXT_TO_DISPLAY);
assert(count > 0);
if (count > 1)
break;
@@ -198,7 +198,7 @@ namespace {
for (const account_t * acct = account.parent;
acct && acct->parent;
acct = acct->parent) {
- std::size_t count = acct->children_with_flags(ACCOUNT_EXT_MATCHING);
+ std::size_t count = acct->children_with_flags(ACCOUNT_EXT_TO_DISPLAY);
assert(count > 0);
if (count > 1)
depth++;