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/global.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/global.cc') diff --git a/src/global.cc b/src/global.cc index 95e408eb..cc928c1b 100644 --- a/src/global.cc +++ b/src/global.cc @@ -142,13 +142,13 @@ void global_scope_t::read_init() throw_(parse_error, _f("Could not find specified init file %1%") % init_file); } } else { - if (const char * home_var = std::getenv("HOME")){ + if (const char * home_var = std::getenv("HOME")) { init_file = (path(home_var) / ".ledgerrc"); } else { init_file = ("./.ledgerrc"); } } - if(exists(init_file)){ + if (exists(init_file)) { parse_init(init_file); } } -- cgit v1.2.3