From 2cee0fe23f84a1e6ccd7078098df2c5ffbe0378f Mon Sep 17 00:00:00 2001 From: Martin Michlmayr Date: Sun, 18 May 2014 09:51:32 -0400 Subject: Cosmetic change - format code consistently Add a space between if and the opening bracket, between a closing round bracket and the following opening curly bracket, etc. --- src/session.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/session.cc') diff --git a/src/session.cc b/src/session.cc index ec57eab3..e373eb03 100644 --- a/src/session.cc +++ b/src/session.cc @@ -93,13 +93,13 @@ std::size_t session_t::read_data(const string& master_account) acct = journal->find_account(master_account); optional price_db_path; - if (HANDLED(price_db_)){ + if (HANDLED(price_db_)) { price_db_path = resolve_path(HANDLER(price_db_).str()); - if (!exists(price_db_path.get())){ + if (!exists(price_db_path.get())) { throw_(parse_error, _f("Could not find specified price-db file %1%") % price_db_path); } } else { - if (const char * home_var = std::getenv("HOME")){ + if (const char * home_var = std::getenv("HOME")) { price_db_path = (path(home_var) / ".pricedb"); } else { price_db_path = ("./.ledgerrc"); -- cgit v1.2.3