From 9e235d04a1aa9d38fa6f1503902873d2f7ad8419 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 17 Aug 2004 03:43:29 -0400 Subject: fixes --- config.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config.cc') diff --git a/config.cc b/config.cc index 99c4d4b4..06e6f4a7 100644 --- a/config.cc +++ b/config.cc @@ -20,6 +20,8 @@ config_t::config_t() { if (const char * p = std::getenv("HOME")) init_file = cache_file = price_db = p; + else + init_file = cache_file = price_db = ""; init_file += "/.ledgerrc"; cache_file += "/.ledger"; -- cgit v1.2.3