From c2b5b1a516cdc065d14047176116900d2bab867e Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 10 Feb 2011 23:00:41 -0500 Subject: Whitespace corrections --- src/post.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/post.cc') diff --git a/src/post.cc b/src/post.cc index 4fc34892..ca03a675 100644 --- a/src/post.cc +++ b/src/post.cc @@ -282,11 +282,11 @@ namespace { master = master->parent; if (args[0].is_string()) { - name = args.get(0); + name = args.get(0); acct = master->find_account(name, false); } else if (args[0].is_mask()) { - name = args.get(0).str(); + name = args.get(0).str(); acct = master->find_account_re(name); } else { @@ -298,8 +298,8 @@ namespace { if (! acct) throw_(std::runtime_error, _("Could not find an account matching ") << args[0]); - else - return value_t(static_cast(acct)); + + return value_t(static_cast(acct)); } } else if (args.type_context() == value_t::SCOPE) { @@ -313,9 +313,9 @@ namespace { value_t get_display_account(call_scope_t& args) { - post_t& post(args.context()); value_t acct = get_account(args); if (acct.is_string()) { + post_t& post(args.context()); if (post.has_flags(POST_VIRTUAL)) { if (post.must_balance()) acct = string_value(string("[") + acct.as_string() + "]"); -- cgit v1.2.3