summaryrefslogtreecommitdiff
path: root/config.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-17 03:43:29 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-17 03:43:29 -0400
commit9e235d04a1aa9d38fa6f1503902873d2f7ad8419 (patch)
treee871e6020a05c74fc757cb5207290454361b0147 /config.cc
parentaeb2fd0d39f0506ce4352ec29093e2c0f332525c (diff)
downloadfork-ledger-9e235d04a1aa9d38fa6f1503902873d2f7ad8419.tar.gz
fork-ledger-9e235d04a1aa9d38fa6f1503902873d2f7ad8419.tar.bz2
fork-ledger-9e235d04a1aa9d38fa6f1503902873d2f7ad8419.zip
fixes
Diffstat (limited to 'config.cc')
-rw-r--r--config.cc2
1 files changed, 2 insertions, 0 deletions
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";