From 746ca1fe6d15528b444f35e6a65d3c93e4976894 Mon Sep 17 00:00:00 2001 From: Martin Michlmayr Date: Tue, 1 Jul 2014 14:14:23 -0400 Subject: Unify debugging categories Debugging categories follow the filename, which in this case is singular (rather than plural) "account" and "amount". --- src/iterators.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/iterators.cc') diff --git a/src/iterators.cc b/src/iterators.cc index f02c5f04..fd6cde69 100644 --- a/src/iterators.cc +++ b/src/iterators.cc @@ -204,9 +204,9 @@ void sorted_accounts_iterator::push_back(account_t& account) compare_items(sort_cmp)); #if DEBUG_ON - if (SHOW_DEBUG("accounts.sorted")) { + if (SHOW_DEBUG("account.sorted")) { foreach (account_t * acct, accounts_list.back()) - DEBUG("accounts.sorted", + DEBUG("account.sorted", "Account (flat): " << acct->fullname()); } #endif @@ -237,9 +237,9 @@ void sorted_accounts_iterator::sort_accounts(account_t& account, compare_items(sort_cmp)); #if DEBUG_ON - if (SHOW_DEBUG("accounts.sorted")) { + if (SHOW_DEBUG("account.sorted")) { foreach (account_t * acct, deque) - DEBUG("accounts.sorted", "Account: " << acct->fullname()); + DEBUG("account.sorted", "Account: " << acct->fullname()); } #endif } -- cgit v1.2.3